staging: rtl8723au: Move rtw_do_join23a() prototype to rtw_ioctl_set.h
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:04:08 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:12:01 +0000 (13:12 -0700)
rtw_do_join23a() is declared in rtw_ioctl_set.c so move the prototype
to it's correct place, and remove duplicate protoype from rtw_mlme.c

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
drivers/staging/rtl8723au/include/osdep_service.h
drivers/staging/rtl8723au/include/rtw_ioctl_set.h

index 48b6d4b..b562bd6 100644 (file)
@@ -26,8 +26,6 @@
 #include <wlan_bssdef.h>
 #include <rtw_ioctl_set.h>
 
-extern u8 rtw_do_join23a(struct rtw_adapter * padapter);
-
 static void rtw_init_mlme_timer(struct rtw_adapter *padapter)
 {
        struct  mlme_priv *pmlmepriv = &padapter->mlmepriv;
index be9329f..f2a8d2a 100644 (file)
@@ -139,6 +139,5 @@ void        _rtw_init_queue23a(struct rtw_queue *pqueue);
                         ((u32) (a)[2]))
 
 s32 c2h_evt_hdl(struct rtw_adapter *adapter, struct c2h_evt_hdr *c2h_evt, c2h_id_filter filter);
-u8 rtw_do_join23a(struct rtw_adapter *padapter);
 
 #endif
index 8e49be5..e188200 100644 (file)
@@ -29,5 +29,6 @@ u8 rtw_set_802_11_ssid23a(struct rtw_adapter * padapter, struct cfg80211_ssid *
 
 u16 rtw_get_cur_max_rate23a(struct rtw_adapter *adapter);
 s32 FillH2CCmd(struct rtw_adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer);
+u8 rtw_do_join23a(struct rtw_adapter *padapter);
 
 #endif