diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-29 17:36:30 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-07-31 02:24:11 -0400 |
commit | 098697dbad9070249eb07a0241c4001aa367bb89 (patch) | |
tree | 0f89ca4e0c30fd807c50ef006a5f95661112ca81 | |
parent | 5d5cd85ff441534a52f23f821d0a7c644d3b6cce (diff) |
b43: fix extpa_gain check for 2GHz
On the 2GHz and and on the 5GHZ band only the extpa_gain setting from
the 5GHz band was checked. this patch makes it check the property from
the correct band.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/b43/tables_nphy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/tables_nphy.c b/drivers/net/wireless/b43/tables_nphy.c index 25d1cbd34306..b2f0d245bcf3 100644 --- a/drivers/net/wireless/b43/tables_nphy.c +++ b/drivers/net/wireless/b43/tables_nphy.c | |||
@@ -3728,7 +3728,7 @@ const u32 *b43_nphy_get_tx_gain_table(struct b43_wldev *dev) | |||
3728 | switch (phy->rev) { | 3728 | switch (phy->rev) { |
3729 | case 6: | 3729 | case 6: |
3730 | case 5: | 3730 | case 5: |
3731 | if (sprom->fem.ghz5.extpa_gain == 3) | 3731 | if (sprom->fem.ghz2.extpa_gain == 3) |
3732 | return b43_ntab_tx_gain_epa_rev3_hi_pwr_2g; | 3732 | return b43_ntab_tx_gain_epa_rev3_hi_pwr_2g; |
3733 | /* fall through */ | 3733 | /* fall through */ |
3734 | case 4: | 3734 | case 4: |