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

staging: rtl8723au: Remove empty function rtw_stassoc_hw_rpt23a()

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 891d3dec
...@@ -523,8 +523,6 @@ static void update_bmc_sta(struct rtw_adapter *padapter) ...@@ -523,8 +523,6 @@ static void update_bmc_sta(struct rtw_adapter *padapter)
psta->raid = raid; psta->raid = raid;
psta->init_rate = init_rate; psta->init_rate = init_rate;
rtw_stassoc_hw_rpt23a(padapter, psta);
spin_lock_bh(&psta->lock); spin_lock_bh(&psta->lock);
psta->state = _FW_LINKED; psta->state = _FW_LINKED;
spin_unlock_bh(&psta->lock); spin_unlock_bh(&psta->lock);
......
...@@ -1296,13 +1296,6 @@ void rtw23a_joinbss_event_cb(struct rtw_adapter *adapter, u8 *pbuf) ...@@ -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) void rtw_stassoc_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf)
{ {
struct sta_info *psta; struct sta_info *psta;
...@@ -1322,8 +1315,6 @@ void rtw_stassoc_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf) ...@@ -1322,8 +1315,6 @@ void rtw_stassoc_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf)
/* bss_cap_update_on_sta_join23a(adapter, psta); */ /* bss_cap_update_on_sta_join23a(adapter, psta); */
/* sta_info_update23a(adapter, psta); */ /* sta_info_update23a(adapter, psta); */
ap_sta_info_defer_update23a(adapter, psta); ap_sta_info_defer_update23a(adapter, psta);
rtw_stassoc_hw_rpt23a(adapter,psta);
} }
return; return;
} }
...@@ -1350,8 +1341,6 @@ void rtw_stassoc_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf) ...@@ -1350,8 +1341,6 @@ void rtw_stassoc_event_callback23a(struct rtw_adapter *adapter, u8 *pbuf)
/* for ad-hoc mode */ /* for ad-hoc mode */
rtw_hal_set_odm_var23a(adapter,HAL_ODM_STA_INFO,psta,true); rtw_hal_set_odm_var23a(adapter,HAL_ODM_STA_INFO,psta,true);
rtw_stassoc_hw_rpt23a(adapter,psta);
if(adapter->securitypriv.dot11AuthAlgrthm==dot11AuthAlgrthm_8021X) if(adapter->securitypriv.dot11AuthAlgrthm==dot11AuthAlgrthm_8021X)
psta->dot118021XPrivacy = adapter->securitypriv.dot11PrivacyAlgrthm; psta->dot118021XPrivacy = adapter->securitypriv.dot11PrivacyAlgrthm;
......
...@@ -619,6 +619,5 @@ void rtw23a_roaming(struct rtw_adapter *adapter, ...@@ -619,6 +619,5 @@ void rtw23a_roaming(struct rtw_adapter *adapter,
struct wlan_network *tgt_network); struct wlan_network *tgt_network);
void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming); void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming);
u8 rtw_to_roaming(struct rtw_adapter *adapter); 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_ */ #endif /* __RTL871X_MLME_H_ */
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