Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b23cd22d authored by Shao Fu's avatar Shao Fu Committed by Kalle Valo
Browse files

rtlwifi: rtl8723be: Update driver for regulatory changes



The driver is converted to use the channel plan in the EEPROM.

Signed-off-by: default avatarShao Fu <shaofu@realtek.com>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 56203024
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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? */