mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 00:46:22 +07:00
Revert "rtlwifi: btcoex: rtl8723be: fix ant_sel not work"
This reverts commitf95d95a7cd
. With commitf95d95a7cd
("rtlwifi: btcoex: rtl8723be: fix ant_sel not work"), the kernel has a NULL pointer dereference oops. This content and the proper fix will be included in a later patch. Fixes:f95d95a7cd
("rtlwifi: btcoex: rtl8723be: fix ant_sel not work") Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Ping-Ke Shih <pkshih@realtek.com> Cc: Yan-Hsuan Chuang <yhchuang@realtek.com> Cc: Birming Chiu <birming@realtek.com> Cc: Shaofu <shaofu@realtek.com> Cc: Steven Ting <steventing@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
0a16628212
commit
271612d72d
@ -846,9 +846,6 @@ static bool _rtl8723be_init_mac(struct ieee80211_hw *hw)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (rtlpriv->cfg->ops->get_btc_status())
|
||||
rtlpriv->btcoexist.btc_ops->btc_power_on_setting(rtlpriv);
|
||||
|
||||
bytetmp = rtl_read_byte(rtlpriv, REG_MULTI_FUNC_CTRL);
|
||||
rtl_write_byte(rtlpriv, REG_MULTI_FUNC_CTRL, bytetmp | BIT(3));
|
||||
|
||||
|
@ -2547,7 +2547,6 @@ struct bt_coexist_info {
|
||||
struct rtl_btc_ops {
|
||||
void (*btc_init_variables) (struct rtl_priv *rtlpriv);
|
||||
void (*btc_init_hal_vars) (struct rtl_priv *rtlpriv);
|
||||
void (*btc_power_on_setting)(struct rtl_priv *rtlpriv);
|
||||
void (*btc_init_hw_config) (struct rtl_priv *rtlpriv);
|
||||
void (*btc_ips_notify) (struct rtl_priv *rtlpriv, u8 type);
|
||||
void (*btc_lps_notify)(struct rtl_priv *rtlpriv, u8 type);
|
||||
|
Loading…
Reference in New Issue
Block a user