Skip to content

Commit e0215c1

Browse files
Ping-Ke ShihKalle Valo
authored andcommitted
rtlwifi: btcoex: move bt_type declaration
Routine rtl_get_hwpg_bt_type() is better in halbtcoutsrc.c than in rtl_btc.c. Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 7fe1fe7 commit e0215c1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ u8 rtl_get_hwpg_single_ant_path(struct rtl_priv *rtlpriv)
151151
return rtlpriv->btcoexist.btc_info.single_ant_path;
152152
}
153153

154+
u8 rtl_get_hwpg_bt_type(struct rtl_priv *rtlpriv)
155+
{
156+
return rtlpriv->btcoexist.btc_info.bt_type;
157+
}
158+
154159
u8 rtl_get_hwpg_ant_num(struct rtl_priv *rtlpriv)
155160
{
156161
u8 num;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,6 @@ u8 rtl_get_hwpg_bt_exist(struct rtl_priv *rtlpriv)
198198
return rtlpriv->btcoexist.btc_info.btcoexist;
199199
}
200200

201-
u8 rtl_get_hwpg_bt_type(struct rtl_priv *rtlpriv)
202-
{
203-
return rtlpriv->btcoexist.btc_info.bt_type;
204-
}
205-
206201
MODULE_AUTHOR("Page He <[email protected]>");
207202
MODULE_AUTHOR("Realtek WlanFAE <[email protected]>");
208203
MODULE_AUTHOR("Larry Finger <[email protected]>");

0 commit comments

Comments
 (0)