2010-07-11 03:50:46 +00:00
|
|
|
--- a/drivers/net/wireless/ath/ath9k/mac.c
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/mac.c
|
2010-08-31 23:34:21 +00:00
|
|
|
@@ -714,6 +714,8 @@ int ath9k_hw_rxprocdesc(struct ath_hw *a
|
|
|
|
else if ((ads.ds_rxstatus8 & AR_MichaelErr) &&
|
|
|
|
rs->rs_keyix != ATH9K_RXKEYIX_INVALID)
|
2010-07-12 19:16:22 +00:00
|
|
|
rs->rs_status |= ATH9K_RXERR_MIC;
|
|
|
|
+ else if (ads.ds_rxstatus8 & AR_KeyMiss)
|
|
|
|
+ rs->rs_status |= ATH9K_RXERR_DECRYPT;
|
|
|
|
}
|
2010-07-11 03:50:46 +00:00
|
|
|
|
2010-07-12 19:16:22 +00:00
|
|
|
return 0;
|
2010-07-11 03:50:46 +00:00
|
|
|
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
2010-07-20 01:54:01 +00:00
|
|
|
@@ -616,7 +616,8 @@ int ath9k_hw_process_rxdesc_edma(struct
|
2010-07-12 19:16:22 +00:00
|
|
|
rxs->rs_status |= ATH9K_RXERR_DECRYPT;
|
|
|
|
} else if (rxsp->status11 & AR_MichaelErr) {
|
|
|
|
rxs->rs_status |= ATH9K_RXERR_MIC;
|
|
|
|
- }
|
|
|
|
+ } else if (rxsp->status11 & AR_KeyMiss)
|
|
|
|
+ rxs->rs_status |= ATH9K_RXERR_DECRYPT;
|
|
|
|
}
|
2010-07-11 03:50:46 +00:00
|
|
|
|
2010-07-12 19:16:22 +00:00
|
|
|
return 0;
|