mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 13:33:06 +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
|
@ -1828,9 +1828,6 @@ static void traffic_status_watchdog(_adapter *padapter)
|
|||
u8 bEnterPS;
|
||||
u8 bBusyTraffic = false, bTxBusyTraffic = false, bRxBusyTraffic = false;
|
||||
u8 bHigherBusyTraffic = false, bHigherBusyRxTraffic = false, bHigherBusyTxTraffic = false;
|
||||
#ifdef CONFIG_FTP_PROTECT
|
||||
u16 bPktCount = 0;
|
||||
#endif
|
||||
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
||||
|
||||
/* */
|
||||
|
@ -1868,22 +1865,6 @@ static void traffic_status_watchdog(_adapter *padapter)
|
|||
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
|
||||
if (BT_1Ant(padapter) == false)
|
||||
#endif
|
||||
|
|
|
@ -89,10 +89,6 @@ _func_enter_;
|
|||
|
||||
rtw_clear_scan_deny(padapter);
|
||||
|
||||
#ifdef CONFIG_FTP_PROTECT
|
||||
pmlmepriv->ftp_lock_flag = 0;
|
||||
#endif /* CONFIG_FTP_PROTECT */
|
||||
|
||||
rtw_init_mlme_timer(padapter);
|
||||
|
||||
exit:
|
||||
|
@ -102,7 +98,6 @@ _func_exit_;
|
|||
return res;
|
||||
}
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue