Staging: rt28x0: fix fOP_STATUS_DOZE flag handling
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 23 Aug 2009 13:30:30 +0000 (15:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:22 +0000 (12:02 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/mlme.c

index 53840f7e7799184317756891461b257f5c94ea8e..b4c98f160a64f2fca97194c203cbb9d57cabf0d9 100644 (file)
@@ -8192,8 +8192,8 @@ VOID AsicEvaluateRxAnt(
                                fRTMP_ADAPTER_RADIO_OFF |
                                fRTMP_ADAPTER_NIC_NOT_EXIST |
                                fRTMP_ADAPTER_BSS_SCAN_IN_PROGRESS)
-#ifdef RT30xx
                                || OPSTATUS_TEST_FLAG(pAd, fOP_STATUS_DOZE)
+#ifdef RT30xx
                                || (pAd->EepromAccess)
 #endif
                                )
@@ -8296,8 +8296,8 @@ VOID AsicRxAntEvalTimeout(
                                                        fRTMP_ADAPTER_HALT_IN_PROGRESS  |
                                                        fRTMP_ADAPTER_RADIO_OFF                 |
                                                        fRTMP_ADAPTER_NIC_NOT_EXIST)
-#ifdef RT30xx
                                                        || OPSTATUS_TEST_FLAG(pAd, fOP_STATUS_DOZE)
+#ifdef RT30xx
                                                        || (pAd->EepromAccess)
 #endif // RT30xx //
                                                        )