]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8188eu: Remove function rtw_hostapd_mlme_rx()
authornavin patidar <navin.patidar@gmail.com>
Wed, 7 May 2014 03:57:30 +0000 (09:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:41:51 +0000 (01:41 +0900)
rtw_hostapd_mlme_rx() has empty defination, so we can remove it.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
drivers/staging/rtl8188eu/include/recv_osdep.h
drivers/staging/rtl8188eu/os_dep/recv_linux.c

index 55be52fb34a9670a305aeb46d2c9fd6a65842be1..e854732478b89db929862215d15b70751f1308e3 100644 (file)
@@ -502,8 +502,6 @@ void mgt_dispatcher(struct adapter *padapter, struct recv_frame *precv_frame)
                break;
        default:
                _mgt_dispatcher(padapter, ptable, precv_frame);
-               if (check_fwstate(pmlmepriv, WIFI_AP_STATE))
-                       rtw_hostapd_mlme_rx(padapter, precv_frame);
                break;
        }
 #else
index 44caea957c026a450e62995e13556703af8b7e1e..5333598e46a00d44b4cddefaef32a3ae4247b61f 100644 (file)
@@ -33,7 +33,6 @@ int rtw_recv_indicatepkt(struct adapter *adapter,
                         struct recv_frame *recv_frame);
 void rtw_recv_returnpacket(struct  net_device *cnxt, struct sk_buff *retpkt);
 
-void rtw_hostapd_mlme_rx(struct adapter *padapter, struct recv_frame *recv_fr);
 void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup);
 
 int rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter);
index d1ce6399c4b00febcb99032ac05c063743bf0bb6..edb7969a96d8d5a8c67c218413c4b1181598f19d 100644 (file)
@@ -95,11 +95,6 @@ void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup)
                            &wrqu, (char *)&ev);
 }
 
-void rtw_hostapd_mlme_rx(struct adapter *padapter,
-                        struct recv_frame *precv_frame)
-{
-}
-
 int rtw_recv_indicatepkt(struct adapter *padapter,
                         struct recv_frame *precv_frame)
 {