Commit ff81b066 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Greg Kroah-Hartman

Staging: rt28x0: fix fOP_STATUS_DOZE flag handling

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7765e89d
...@@ -8192,8 +8192,8 @@ VOID AsicEvaluateRxAnt( ...@@ -8192,8 +8192,8 @@ VOID AsicEvaluateRxAnt(
fRTMP_ADAPTER_RADIO_OFF | fRTMP_ADAPTER_RADIO_OFF |
fRTMP_ADAPTER_NIC_NOT_EXIST | fRTMP_ADAPTER_NIC_NOT_EXIST |
fRTMP_ADAPTER_BSS_SCAN_IN_PROGRESS) fRTMP_ADAPTER_BSS_SCAN_IN_PROGRESS)
#ifdef RT30xx
|| OPSTATUS_TEST_FLAG(pAd, fOP_STATUS_DOZE) || OPSTATUS_TEST_FLAG(pAd, fOP_STATUS_DOZE)
#ifdef RT30xx
|| (pAd->EepromAccess) || (pAd->EepromAccess)
#endif #endif
) )
...@@ -8296,8 +8296,8 @@ VOID AsicRxAntEvalTimeout( ...@@ -8296,8 +8296,8 @@ VOID AsicRxAntEvalTimeout(
fRTMP_ADAPTER_HALT_IN_PROGRESS | fRTMP_ADAPTER_HALT_IN_PROGRESS |
fRTMP_ADAPTER_RADIO_OFF | fRTMP_ADAPTER_RADIO_OFF |
fRTMP_ADAPTER_NIC_NOT_EXIST) fRTMP_ADAPTER_NIC_NOT_EXIST)
#ifdef RT30xx
|| OPSTATUS_TEST_FLAG(pAd, fOP_STATUS_DOZE) || OPSTATUS_TEST_FLAG(pAd, fOP_STATUS_DOZE)
#ifdef RT30xx
|| (pAd->EepromAccess) || (pAd->EepromAccess)
#endif // RT30xx // #endif // RT30xx //
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment