From: Bartlomiej Zolnierkiewicz Date: Sun, 23 Aug 2009 13:30:30 +0000 (+0200) Subject: Staging: rt28x0: fix fOP_STATUS_DOZE flag handling X-Git-Tag: MMI-PSA29.97-13-9~26941^2~120 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff81b066fb9fd2a6eaa77a8bedfad2e5dcddd9a2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: rt28x0: fix fOP_STATUS_DOZE flag handling Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rt2860/common/mlme.c b/drivers/staging/rt2860/common/mlme.c index 53840f7e7799..b4c98f160a64 100644 --- a/drivers/staging/rt2860/common/mlme.c +++ b/drivers/staging/rt2860/common/mlme.c @@ -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 // )