Skip to content

Commit

Permalink
rtlwifi: rtl8821ae: Fix problem with regulatory information
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shao Fu authored and Kalle Valo committed May 26, 2015
1 parent b23cd22 commit d10101a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit d10101a

Please sign in to comment.