From d264b3ae00a854cdd5bb099f83c022a7a11dcf78 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Fri, 27 Feb 2015 20:14:21 -0600 Subject: [PATCH] rtl8188eu: Remove CONFIG_DEAUTH_BEFORE_CONNECT This symbol is always defined. Signed-off-by: Larry Finger --- core/rtw_mlme_ext.c | 2 -- include/autoconf.h | 1 - 2 files changed, 3 deletions(-) diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index 9acab4b..428c4af 100755 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -8761,7 +8761,6 @@ void start_clnt_join(struct adapter* padapter) #endif rtw_hal_set_hwreg(padapter, HW_VAR_SEC_CFG, (u8 *)(&val8)); - #ifdef CONFIG_DEAUTH_BEFORE_CONNECT /* Because of AP's not receiving deauth before */ /* AP may: 1)not response auth or 2)deauth us after link is complete */ /* issue deauth before issuing auth to deal with the situation */ @@ -8802,7 +8801,6 @@ void start_clnt_join(struct adapter* padapter) #endif /* CONFIG_P2P */ issue_deauth_ex(padapter, pnetwork->MacAddress, WLAN_REASON_DEAUTH_LEAVING, 5, 100); } - #endif /* CONFIG_DEAUTH_BEFORE_CONNECT */ /* here wait for receiving the beacon to start auth */ /* and enable a timer */ diff --git a/include/autoconf.h b/include/autoconf.h index 418fb3e..8773210 100755 --- a/include/autoconf.h +++ b/include/autoconf.h @@ -70,7 +70,6 @@ #define CONFIG_GLOBAL_UI_PID #define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */ -#define CONFIG_DEAUTH_BEFORE_CONNECT #define CONFIG_BR_EXT // Enable NAT2.5 support for STA mode interface with a L2 Bridge #ifdef CONFIG_BR_EXT