mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 12:33:40 +00:00
rtl8188eu: Remove CONFIG_VALIDATE_SSID
This parameter is not set. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5656471ac2
commit
632cdeeec8
3 changed files with 4 additions and 29 deletions
|
@ -378,13 +378,6 @@ handle_tkip_countermeasure:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_VALIDATE_SSID
|
|
||||||
if (rtw_validate_ssid(ssid) == false) {
|
|
||||||
status = _FAIL;
|
|
||||||
goto release_mlme_lock;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
_rtw_memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(NDIS_802_11_SSID));
|
_rtw_memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(NDIS_802_11_SSID));
|
||||||
pmlmepriv->assoc_by_bssid=false;
|
pmlmepriv->assoc_by_bssid=false;
|
||||||
|
|
||||||
|
|
|
@ -1583,26 +1583,17 @@ void rtw_cfg80211_surveydone_event_callback(_adapter *padapter)
|
||||||
phead = get_list_head(queue);
|
phead = get_list_head(queue);
|
||||||
plist = get_next(phead);
|
plist = get_next(phead);
|
||||||
|
|
||||||
while (1)
|
while (1) {
|
||||||
{
|
|
||||||
if (rtw_end_of_queue_search(phead,plist)== true)
|
if (rtw_end_of_queue_search(phead,plist)== true)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
pnetwork = LIST_CONTAINOR(plist, struct wlan_network, list);
|
pnetwork = LIST_CONTAINOR(plist, struct wlan_network, list);
|
||||||
|
|
||||||
//report network only if the current channel set contains the channel to which this network belongs
|
//report network only if the current channel set contains the channel to which this network belongs
|
||||||
if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0
|
if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0)
|
||||||
#ifdef CONFIG_VALIDATE_SSID
|
|
||||||
&& true == rtw_validate_ssid(&(pnetwork->network.Ssid))
|
|
||||||
#endif
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//ev=translate_scan(padapter, a, pnetwork, ev, stop);
|
|
||||||
rtw_cfg80211_inform_bss(padapter, pnetwork);
|
rtw_cfg80211_inform_bss(padapter, pnetwork);
|
||||||
}
|
|
||||||
|
|
||||||
plist = get_next(plist);
|
plist = get_next(plist);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_exit_critical_bh(&(pmlmepriv->scanned_queue.lock), &irqL);
|
_exit_critical_bh(&(pmlmepriv->scanned_queue.lock), &irqL);
|
||||||
|
|
|
@ -1940,26 +1940,18 @@ static int rtw_wx_get_scan(struct net_device *dev, struct iw_request_info *a,
|
||||||
pnetwork = LIST_CONTAINOR(plist, struct wlan_network, list);
|
pnetwork = LIST_CONTAINOR(plist, struct wlan_network, list);
|
||||||
|
|
||||||
//report network only if the current channel set contains the channel to which this network belongs
|
//report network only if the current channel set contains the channel to which this network belongs
|
||||||
if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0
|
if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0)
|
||||||
#ifdef CONFIG_VALIDATE_SSID
|
|
||||||
&& true == rtw_validate_ssid(&(pnetwork->network.Ssid))
|
|
||||||
#endif
|
|
||||||
)
|
|
||||||
{
|
|
||||||
ev=translate_scan(padapter, a, pnetwork, ev, stop);
|
ev=translate_scan(padapter, a, pnetwork, ev, stop);
|
||||||
}
|
|
||||||
|
|
||||||
plist = get_next(plist);
|
plist = get_next(plist);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_exit_critical_bh(&(pmlmepriv->scanned_queue.lock), &irqL);
|
_exit_critical_bh(&(pmlmepriv->scanned_queue.lock), &irqL);
|
||||||
|
|
||||||
wrqu->data.length = ev-extra;
|
wrqu->data.length = ev-extra;
|
||||||
wrqu->data.flags = 0;
|
wrqu->data.flags = 0;
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
|
||||||
_func_exit_;
|
_func_exit_;
|
||||||
|
|
||||||
#ifdef DBG_IOCTL
|
#ifdef DBG_IOCTL
|
||||||
|
@ -1967,7 +1959,6 @@ exit:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return ret ;
|
return ret ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//set ssid flow
|
//set ssid flow
|
||||||
|
|
Loading…
Reference in a new issue