You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
776 B
24 lines
776 B
15 years ago
|
--- a/drivers/net/wireless/ath/ath9k/mac.c
|
||
|
+++ b/drivers/net/wireless/ath/ath9k/mac.c
|
||
15 years ago
|
@@ -713,6 +713,8 @@ int ath9k_hw_rxprocdesc(struct ath_hw *a
|
||
|
rs->rs_status |= ATH9K_RXERR_DECRYPT;
|
||
|
else if (ads.ds_rxstatus8 & AR_MichaelErr)
|
||
|
rs->rs_status |= ATH9K_RXERR_MIC;
|
||
|
+ else if (ads.ds_rxstatus8 & AR_KeyMiss)
|
||
|
+ rs->rs_status |= ATH9K_RXERR_DECRYPT;
|
||
|
}
|
||
15 years ago
|
|
||
15 years ago
|
return 0;
|
||
15 years ago
|
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
||
|
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
||
15 years ago
|
@@ -616,7 +616,8 @@ int ath9k_hw_process_rxdesc_edma(struct
|
||
15 years ago
|
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;
|
||
|
}
|
||
15 years ago
|
|
||
15 years ago
|
return 0;
|