|
@@ -510,7 +510,11 @@ int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah, struct ath_rx_status *rxs,
|
|
|
*/
|
|
|
if (rxsp->status11 & AR_CRCErr)
|
|
|
rxs->rs_status |= ATH9K_RXERR_CRC;
|
|
|
- else if (rxsp->status11 & AR_PHYErr) {
|
|
|
+ else if (rxsp->status11 & AR_DecryptCRCErr)
|
|
|
+ rxs->rs_status |= ATH9K_RXERR_DECRYPT;
|
|
|
+ else if (rxsp->status11 & AR_MichaelErr)
|
|
|
+ rxs->rs_status |= ATH9K_RXERR_MIC;
|
|
|
+ if (rxsp->status11 & AR_PHYErr) {
|
|
|
phyerr = MS(rxsp->status11, AR_PHYErrCode);
|
|
|
/*
|
|
|
* If we reach a point here where AR_PostDelimCRCErr is
|
|
@@ -532,11 +536,7 @@ int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah, struct ath_rx_status *rxs,
|
|
|
rxs->rs_status |= ATH9K_RXERR_PHY;
|
|
|
rxs->rs_phyerr = phyerr;
|
|
|
}
|
|
|
-
|
|
|
- } else if (rxsp->status11 & AR_DecryptCRCErr)
|
|
|
- rxs->rs_status |= ATH9K_RXERR_DECRYPT;
|
|
|
- else if (rxsp->status11 & AR_MichaelErr)
|
|
|
- rxs->rs_status |= ATH9K_RXERR_MIC;
|
|
|
+ };
|
|
|
}
|
|
|
|
|
|
if (rxsp->status11 & AR_KeyMiss)
|