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:
b23cd22
)
rtlwifi: rtl8821ae: Fix problem with regulatory information
author
Shao Fu
<
[email protected]
>
Fri, 15 May 2015 21:33:03 +0000
(16:33 -0500)
committer
Kalle Valo
<
[email protected]
>
Tue, 26 May 2015 10:56:37 +0000
(13:56 +0300)
The driver was not setting a channel plan. Now it gets it from EEPROM.
Signed-off-by: Shao Fu <
[email protected]
>
Signed-off-by: Larry Finger <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
b/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
index 8704eee9f3a495108e93135d6e306a090c322bc7..450bd4d743d0ddea20e09aefd9e581f83496c756 100644
(file)
--- a/
drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
+++ b/
drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
@@
-3232,8
+3232,8
@@
static void _rtl8821ae_read_adapter_info(struct ieee80211_hw *hw, bool b_pseudo_
if (rtlefuse->eeprom_channelplan == 0xff)
rtlefuse->eeprom_channelplan = 0x7F;
- /* set channel p
aln to world wide 13
*/
- /* rtlefuse->channel_plan = (u8)rtlefuse->eeprom_channelplan; */
+ /* set channel p
lan from efuse
*/
+ rtlefuse->channel_plan = rtlefuse->eeprom_channelplan;
/*parse xtal*/
rtlefuse->crystalcap = hwinfo[EEPROM_XTAL_8821AE];