Skip to content

Commit

Permalink
rtlwifi: rtl8723be: Update driver for regulatory changes
Browse files Browse the repository at this point in the history
The driver is converted to use the channel plan in the 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 5620302 commit b23cd22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/rtlwifi/rtl8723be/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2139,8 +2139,8 @@ static void _rtl8723be_read_adapter_info(struct ieee80211_hw *hw,
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
"EEPROM Customer ID: 0x%2x\n", rtlefuse->eeprom_oemid);

/* set channel plan to world wide 13 */
rtlefuse->channel_plan = COUNTRY_CODE_WORLD_WIDE_13;
/* set channel plan from efuse */
rtlefuse->channel_plan = rtlefuse->eeprom_channelplan;

if (rtlhal->oem_id == RT_CID_DEFAULT) {
/* Does this one have a Toshiba SMID from group 1? */
Expand Down

0 comments on commit b23cd22

Please sign in to comment.