rtl8188eu: Remove CONFIG_ACTIVE_KEEP_ALIVE_CHECK

This configuration variable is always set

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-18 23:30:35 -05:00
parent e294a4c385
commit 9a0ed4ec27
7 changed files with 1 additions and 71 deletions

View file

@ -523,12 +523,9 @@ int init_mlme_ext_priv(_adapter* padapter)
pmlmeext->mlmeext_init = true;
#ifdef CONFIG_ACTIVE_KEEP_ALIVE_CHECK
pmlmeext->active_keep_alive_check = true;
#endif
return res;
}
void free_mlme_ext_priv (struct mlme_ext_priv *pmlmeext)
@ -9310,14 +9307,7 @@ void linked_status_chk(_adapter *padapter)
int tx_chk = _SUCCESS, rx_chk = _SUCCESS;
int rx_chk_limit;
#if defined(DBG_ROAMING_TEST)
rx_chk_limit = 1;
#elif defined(CONFIG_ACTIVE_KEEP_ALIVE_CHECK)
rx_chk_limit = 4;
#else
rx_chk_limit = 8;
#endif
if ((psta = rtw_get_stainfo(pstapriv, pmlmeinfo->network.MacAddress)) != NULL)
{
bool is_p2p_enable = false;
@ -9331,7 +9321,6 @@ void linked_status_chk(_adapter *padapter)
if (pxmitpriv->last_tx_pkts == pxmitpriv->tx_pkts)
tx_chk = _FAIL;
#ifdef CONFIG_ACTIVE_KEEP_ALIVE_CHECK
if (pmlmeext->active_keep_alive_check && (rx_chk == _FAIL || tx_chk == _FAIL)) {
u8 backup_oper_channel=0;
@ -9354,11 +9343,7 @@ void linked_status_chk(_adapter *padapter)
/* back to the original operation channel */
if (backup_oper_channel>0)
SelectChannel(padapter, backup_oper_channel);
}
else
#endif /* CONFIG_ACTIVE_KEEP_ALIVE_CHECK */
{
} else {
if (rx_chk != _SUCCESS) {
if (pmlmeext->retry == 0) {
#ifdef DBG_EXPIRATION_CHK