projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d5cd85
)
b43: fix extpa_gain check for 2GHz
author
Hauke Mehrtens
<
[email protected]
>
Wed, 29 Jul 2015 21:36:30 +0000
(23:36 +0200)
committer
Kalle Valo
<
[email protected]
>
Fri, 31 Jul 2015 06:24:11 +0000
(09:24 +0300)
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 <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/b43/tables_nphy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/b43/tables_nphy.c
b/drivers/net/wireless/b43/tables_nphy.c
index 25d1cbd34306e03ea4827e09509c345d11b5a1df..b2f0d245bcf3a0e71fb96797c47f71ad0ca736db 100644
(file)
--- 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)
switch (phy->rev) {
case 6:
case 5:
- if (sprom->fem.ghz
5
.extpa_gain == 3)
+ if (sprom->fem.ghz
2
.extpa_gain == 3)
return b43_ntab_tx_gain_epa_rev3_hi_pwr_2g;
/* fall through */
case 4: