diff options
author | Shao Fu <shaofu@realtek.com> | 2015-05-15 16:33:03 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-05-26 13:56:37 +0300 |
commit | d10101a603727474eb7ee16c1b46dcb4931a2dac (patch) | |
tree | 247a2ceeeaafa44bbd20b7709b69f69f27e34d2f /drivers/net/wireless/rtlwifi | |
parent | b23cd22d3923b11e4a8fd1854b52932ac691d7ac (diff) | |
download | op-kernel-dev-d10101a603727474eb7ee16c1b46dcb4931a2dac.zip op-kernel-dev-d10101a603727474eb7ee16c1b46dcb4931a2dac.tar.gz |
rtlwifi: rtl8821ae: Fix problem with regulatory information
The driver was not setting a channel plan. Now it gets it from EEPROM.
Signed-off-by: Shao Fu <shaofu@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8821ae/hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c b/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c index 8704eee..450bd4d 100644 --- 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 paln to world wide 13 */ - /* rtlefuse->channel_plan = (u8)rtlefuse->eeprom_channelplan; */ + /* set channel plan from efuse */ + rtlefuse->channel_plan = rtlefuse->eeprom_channelplan; /*parse xtal*/ rtlefuse->crystalcap = hwinfo[EEPROM_XTAL_8821AE]; |