mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 14:03:05 +00:00
rtl8188eu: Remove CONFIG_IOCTL_CFG80211
This one is always selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
34c3293686
commit
5470a10d13
18 changed files with 29 additions and 344 deletions
|
@ -143,7 +143,7 @@ void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv)
|
|||
rtw_free_mlme_ie_data(&pmlmepriv->p2p_assoc_req_ie, &pmlmepriv->p2p_assoc_req_ie_len);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_WFD) && defined(CONFIG_IOCTL_CFG80211)
|
||||
#if defined(CONFIG_WFD)
|
||||
rtw_free_mlme_ie_data(&pmlmepriv->wfd_beacon_ie, &pmlmepriv->wfd_beacon_ie_len);
|
||||
rtw_free_mlme_ie_data(&pmlmepriv->wfd_probe_req_ie, &pmlmepriv->wfd_probe_req_ie_len);
|
||||
rtw_free_mlme_ie_data(&pmlmepriv->wfd_probe_resp_ie, &pmlmepriv->wfd_probe_resp_ie_len);
|
||||
|
@ -1226,12 +1226,7 @@ void rtw_surveydone_event_callback(struct adapter *adapter, u8 *pbuf)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
rtw_cfg80211_surveydone_event_callback(adapter);
|
||||
#endif /* CONFIG_IOCTL_CFG80211 */
|
||||
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
void rtw_dummy_event_callback(struct adapter *adapter , u8 *pbuf)
|
||||
|
@ -1963,7 +1958,6 @@ void rtw_stassoc_event_callback(struct adapter *adapter, u8 *pbuf)
|
|||
|
||||
/* report to upper layer */
|
||||
DBG_871X("indicate_sta_assoc_event to upper layer - hostapd\n");
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
_enter_critical_bh(&psta->lock, &irqL);
|
||||
if(psta->passoc_req && psta->assoc_req_len>0)
|
||||
{
|
||||
|
@ -1986,9 +1980,6 @@ void rtw_stassoc_event_callback(struct adapter *adapter, u8 *pbuf)
|
|||
|
||||
rtw_mfree(passoc_req, assoc_req_len);
|
||||
}
|
||||
#else /* CONFIG_IOCTL_CFG80211 */
|
||||
rtw_indicate_sta_assoc_event(adapter, psta);
|
||||
#endif /* CONFIG_IOCTL_CFG80211 */
|
||||
#endif /* CONFIG_AUTO_AP_MODE */
|
||||
}
|
||||
goto exit;
|
||||
|
@ -2087,14 +2078,11 @@ void rtw_stadel_event_callback(struct adapter *adapter, u8 *pbuf)
|
|||
|
||||
if(check_fwstate(pmlmepriv, WIFI_AP_STATE))
|
||||
{
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
#ifdef COMPAT_KERNEL_RELEASE
|
||||
|
||||
#elif (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)) || defined(CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER)
|
||||
rtw_cfg80211_indicate_sta_disassoc(adapter, pstadel->macaddr, *(u16*)pstadel->rsvd);
|
||||
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)) || defined(CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER) */
|
||||
#endif /* CONFIG_IOCTL_CFG80211 */
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2271,11 +2259,8 @@ void _rtw_join_timeout_handler (struct adapter *adapter)
|
|||
rtw_indicate_disconnect(adapter);
|
||||
free_scanqueue(pmlmepriv);/* */
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
/* indicate disconnect for the case that join_timeout and check_fwstate != FW_LINKED */
|
||||
rtw_cfg80211_indicate_disconnect(adapter);
|
||||
#endif /* CONFIG_IOCTL_CFG80211 */
|
||||
|
||||
}
|
||||
|
||||
_exit_critical_bh(&pmlmepriv->lock, &irqL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue