Skip to content

Commit 87d8a9f

Browse files
Ping-Ke ShihKalle Valo
authored andcommitted
rtlwifi: btcoex: call bind to setup btcoex
New btcoex add a function 'bind' to connect adapter, so we should call it during initializing. Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Larry Finger <[email protected]> Cc: Yan-Hsuan Chuang <[email protected]> Cc: Birming Chiu <[email protected]> Cc: Shaofu <[email protected]> Cc: Steven Ting <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 9920322 commit 87d8a9f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ bool halbtc_is_wifi_uplink(struct rtl_priv *adapter);
600600
extern struct btc_coexist gl_bt_coexist;
601601

602602
bool exhalbtc_initlize_variables(void);
603+
bool exhalbtc_bind_bt_coex_withadapter(void *adapter);
603604
void exhalbtc_init_hw_config(struct btc_coexist *btcoexist);
604605
void exhalbtc_init_coex_dm(struct btc_coexist *btcoexist);
605606
void exhalbtc_ips_notify(struct btc_coexist *btcoexist, u8 type);

drivers/net/wireless/realtek/rtlwifi/btcoexist/rtl_btc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ static struct rtl_btc_ops rtl_btc_operation = {
5050
void rtl_btc_init_variables(struct rtl_priv *rtlpriv)
5151
{
5252
exhalbtc_initlize_variables();
53+
exhalbtc_bind_bt_coex_withadapter(rtlpriv);
5354
}
5455

5556
void rtl_btc_init_hal_vars(struct rtl_priv *rtlpriv)

0 commit comments

Comments
 (0)