mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Remove dead code associated with WAPI
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
7c593a903d
commit
acda213bd2
16 changed files with 5 additions and 841 deletions
|
@ -1327,20 +1327,6 @@ _func_enter_;
|
|||
_clr_fwstate_(pmlmepriv, _FW_LINKED);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_WAPI_SUPPORT
|
||||
psta = rtw_get_stainfo(pstapriv,cur_network->MacAddress);
|
||||
if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
|
||||
{
|
||||
rtw_wapi_return_one_sta_info(padapter, psta->hwaddr);
|
||||
}
|
||||
else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) ||
|
||||
check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE))
|
||||
{
|
||||
rtw_wapi_return_all_sta_info(padapter);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)
|
||||
#ifdef CONFIG_LAYER2_ROAMING
|
||||
|| (pmlmepriv->to_roaming<=0)
|
||||
|
@ -3187,10 +3173,6 @@ void _rtw_roaming(_adapter *padapter, struct wlan_network *tgt_network)
|
|||
|
||||
pmlmepriv->assoc_by_bssid = false;
|
||||
|
||||
#ifdef CONFIG_WAPI_SUPPORT
|
||||
rtw_wapi_return_all_sta_info(padapter);
|
||||
#endif
|
||||
|
||||
while (1) {
|
||||
if ( _SUCCESS==(do_join_r=rtw_do_join(padapter)) ) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue