summaryrefslogtreecommitdiff
path: root/drivers/staging/rt2870/common/mlme.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/rt2870/common/mlme.c')
-rw-r--r--drivers/staging/rt2870/common/mlme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rt2870/common/mlme.c b/drivers/staging/rt2870/common/mlme.c
index f669e85..b8e9db5 100644
--- a/drivers/staging/rt2870/common/mlme.c
+++ b/drivers/staging/rt2870/common/mlme.c
@@ -939,9 +939,7 @@ VOID STAMlmePeriodicExec(
ULONG TxTotalCnt;
int i;
-#ifdef WPA_SUPPLICANT_SUPPORT
if (pAd->StaCfg.WpaSupplicantUP == WPA_SUPPLICANT_DISABLE)
-#endif // WPA_SUPPLICANT_SUPPORT //
{
// WPA MIC error should block association attempt for 60 seconds
if (pAd->StaCfg.bBlockAssoc && (pAd->StaCfg.LastMicErrorTime + (60 * OS_HZ) < pAd->Mlme.Now32))