staging: rtl8723au: Remove bogus inline from rtw_set_roaming() prototype
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 15 Apr 2014 17:44:51 +0000 (19:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2014 18:04:09 +0000 (11:04 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c

index fcb1add545bfe9d6d68c8492a495dc709997bf88..e207f477b449c4e69e0875c95c90479f8a3763c1 100644 (file)
@@ -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) ||