Commit a9339fdd authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Remove bogus inline from rtw_set_roaming() prototype

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent afa7e480
......@@ -271,6 +271,13 @@ void rtw_generate_random_ibss23a(u8* pibss)
return;
}
void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming)
{
if (to_roaming == 0)
adapter->mlmepriv.to_join = false;
adapter->mlmepriv.to_roaming = to_roaming;
}
static void _rtw_roaming(struct rtw_adapter *padapter,
struct wlan_network *tgt_network)
{
......@@ -2512,13 +2519,6 @@ void rtw_issue_addbareq_cmd23a(struct rtw_adapter *padapter,
}
}
inline void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming)
{
if (to_roaming == 0)
adapter->mlmepriv.to_join = false;
adapter->mlmepriv.to_roaming = to_roaming;
}
int rtw_linked_check(struct rtw_adapter *padapter)
{
if (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment