]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: rtl8723au: Remove empty function rtw_stassoc_hw_rpt23a()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Apr 2014 21:20:51 +0000 (23:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 15:29:11 +0000 (08:29 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c
drivers/staging/rtl8723au/core/rtw_mlme.c
drivers/staging/rtl8723au/include/rtw_mlme.h

index c18eee9222ce3099a29146027e682bc3d4718dec..75b52bf5dccf063041ddc037f0cd8a7dd8bfebde 100644 (file)
@@ -523,8 +523,6 @@ static void update_bmc_sta(struct rtw_adapter *padapter)
                psta->raid = raid;
                psta->init_rate = init_rate;
 
-               rtw_stassoc_hw_rpt23a(padapter, psta);
-
                spin_lock_bh(&psta->lock);
                psta->state = _FW_LINKED;
                spin_unlock_bh(&psta->lock);
index e6969362261d305445179d9ae6719dec2c3c1fd0..22e71702a84aee5d18d27b50620a9dcf68f68cca 100644 (file)
@@ -1296,13 +1296,6 @@ void rtw23a_joinbss_event_cb(struct rtw_adapter *adapter, u8 *pbuf)
 
 }
 
-/* FOR AP , AD-HOC mode */
-void rtw_stassoc_hw_rpt23a(struct rtw_adapter *adapter, struct sta_info *psta)
-{
-       if (psta == NULL)
-               return;
-}
-
 void rtw_stassoc_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf)
 {
        struct sta_info *psta;
@@ -1322,8 +1315,6 @@ void rtw_stassoc_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf)
                        /* bss_cap_update_on_sta_join23a(adapter, psta); */
                        /* sta_info_update23a(adapter, psta); */
                        ap_sta_info_defer_update23a(adapter, psta);
-
-                       rtw_stassoc_hw_rpt23a(adapter,psta);
                }
                return;
        }
@@ -1350,8 +1341,6 @@ void rtw_stassoc_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf)
        /* for ad-hoc mode */
        rtw_hal_set_odm_var23a(adapter,HAL_ODM_STA_INFO,psta,true);
 
-       rtw_stassoc_hw_rpt23a(adapter,psta);
-
        if(adapter->securitypriv.dot11AuthAlgrthm==dot11AuthAlgrthm_8021X)
                psta->dot118021XPrivacy = adapter->securitypriv.dot11PrivacyAlgrthm;
 
index 31f96f39b498dcb6bb9fe9ea142d749e676b6e7b..dac930c77c0107a34b3cc0ca10fc5f7277a35f77 100644 (file)
@@ -619,6 +619,5 @@ void rtw23a_roaming(struct rtw_adapter *adapter,
                 struct wlan_network *tgt_network);
 void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming);
 u8 rtw_to_roaming(struct rtw_adapter *adapter);
-void rtw_stassoc_hw_rpt23a(struct rtw_adapter *adapter, struct sta_info *psta);
 
 #endif /* __RTL871X_MLME_H_ */