mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 04:23:39 +00:00
rtl8188eu: Remove CONFIG_FTP_PROTECT - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
55542f1113
commit
974a768133
4 changed files with 0 additions and 35 deletions
5
Makefile
5
Makefile
|
@ -26,7 +26,6 @@ CONFIG_HW_PWRP_DETECTION = n
|
||||||
CONFIG_BT_COEXIST = n
|
CONFIG_BT_COEXIST = n
|
||||||
CONFIG_EFUSE_CONFIG_FILE = n
|
CONFIG_EFUSE_CONFIG_FILE = n
|
||||||
CONFIG_EXT_CLK = n
|
CONFIG_EXT_CLK = n
|
||||||
CONFIG_FTP_PROTECT = n
|
|
||||||
CONFIG_WOWLAN = n
|
CONFIG_WOWLAN = n
|
||||||
|
|
||||||
CONFIG_DRVEXT_MODULE = n
|
CONFIG_DRVEXT_MODULE = n
|
||||||
|
@ -122,10 +121,6 @@ ifeq ($(CONFIG_EXT_CLK), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_EXT_CLK
|
EXTRA_CFLAGS += -DCONFIG_EXT_CLK
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_FTP_PROTECT), y)
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_FTP_PROTECT
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_WOWLAN), y)
|
ifeq ($(CONFIG_WOWLAN), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_WOWLAN
|
EXTRA_CFLAGS += -DCONFIG_WOWLAN
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1828,9 +1828,6 @@ static void traffic_status_watchdog(_adapter *padapter)
|
||||||
u8 bEnterPS;
|
u8 bEnterPS;
|
||||||
u8 bBusyTraffic = false, bTxBusyTraffic = false, bRxBusyTraffic = false;
|
u8 bBusyTraffic = false, bTxBusyTraffic = false, bRxBusyTraffic = false;
|
||||||
u8 bHigherBusyTraffic = false, bHigherBusyRxTraffic = false, bHigherBusyTxTraffic = false;
|
u8 bHigherBusyTraffic = false, bHigherBusyRxTraffic = false, bHigherBusyTxTraffic = false;
|
||||||
#ifdef CONFIG_FTP_PROTECT
|
|
||||||
u16 bPktCount = 0;
|
|
||||||
#endif
|
|
||||||
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
|
@ -1868,22 +1865,6 @@ static void traffic_status_watchdog(_adapter *padapter)
|
||||||
bHigherBusyTxTraffic = true;
|
bHigherBusyTxTraffic = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_FTP_PROTECT
|
|
||||||
DBG_88E("RX in period:%d, TX in period:%d, ftp_lock_flag:%d\n",
|
|
||||||
pmlmepriv->LinkDetectInfo.NumRxOkInPeriod,
|
|
||||||
pmlmepriv->LinkDetectInfo.NumTxOkInPeriod,
|
|
||||||
pmlmepriv->ftp_lock_flag);
|
|
||||||
|
|
||||||
bPktCount = pmlmepriv->LinkDetectInfo.NumRxOkInPeriod + pmlmepriv->LinkDetectInfo.NumTxOkInPeriod;
|
|
||||||
if (bPktCount > 20 && !pmlmepriv->ftp_lock_flag) {
|
|
||||||
pmlmepriv->ftp_lock_flag = 1;
|
|
||||||
rtw_lock_suspend();
|
|
||||||
} else if (bPktCount == 0 && pmlmepriv->ftp_lock_flag) {
|
|
||||||
pmlmepriv->ftp_lock_flag = 0;
|
|
||||||
rtw_unlock_suspend();
|
|
||||||
}
|
|
||||||
#endif /* CONFIG_KEEP_FTP_TRANSMIT */
|
|
||||||
|
|
||||||
#ifdef CONFIG_BT_COEXIST
|
#ifdef CONFIG_BT_COEXIST
|
||||||
if (BT_1Ant(padapter) == false)
|
if (BT_1Ant(padapter) == false)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -89,10 +89,6 @@ _func_enter_;
|
||||||
|
|
||||||
rtw_clear_scan_deny(padapter);
|
rtw_clear_scan_deny(padapter);
|
||||||
|
|
||||||
#ifdef CONFIG_FTP_PROTECT
|
|
||||||
pmlmepriv->ftp_lock_flag = 0;
|
|
||||||
#endif /* CONFIG_FTP_PROTECT */
|
|
||||||
|
|
||||||
rtw_init_mlme_timer(padapter);
|
rtw_init_mlme_timer(padapter);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
@ -102,7 +98,6 @@ _func_exit_;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtw_mfree_mlme_priv_lock (struct mlme_priv *pmlmepriv);
|
|
||||||
void rtw_mfree_mlme_priv_lock (struct mlme_priv *pmlmepriv)
|
void rtw_mfree_mlme_priv_lock (struct mlme_priv *pmlmepriv)
|
||||||
{
|
{
|
||||||
_rtw_spinlock_free(&pmlmepriv->lock);
|
_rtw_spinlock_free(&pmlmepriv->lock);
|
||||||
|
|
|
@ -429,13 +429,7 @@ struct mlme_priv {
|
||||||
u32 p2p_assoc_req_ie_len;
|
u32 p2p_assoc_req_ie_len;
|
||||||
_lock bcn_update_lock;
|
_lock bcn_update_lock;
|
||||||
u8 update_bcn;
|
u8 update_bcn;
|
||||||
|
|
||||||
|
|
||||||
#endif //#if defined (CONFIG_AP_MODE)
|
#endif //#if defined (CONFIG_AP_MODE)
|
||||||
|
|
||||||
#ifdef CONFIG_FTP_PROTECT
|
|
||||||
u8 ftp_lock_flag;
|
|
||||||
#endif //CONFIG_FTP_PROTECT
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_AP_MODE
|
#ifdef CONFIG_AP_MODE
|
||||||
|
|
Loading…
Reference in a new issue