mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 17:19:41 +02:00
2cedae1d3d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22865 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
789 B
Diff
24 lines
789 B
Diff
--- a/drivers/net/wireless/ath/ath9k/mac.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/mac.c
|
|
@@ -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)
|
|
rs->rs_status |= ATH9K_RXERR_MIC;
|
|
+ else if (ads.ds_rxstatus8 & AR_KeyMiss)
|
|
+ rs->rs_status |= ATH9K_RXERR_DECRYPT;
|
|
}
|
|
|
|
return 0;
|
|
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
|
@@ -616,7 +616,8 @@ int ath9k_hw_process_rxdesc_edma(struct
|
|
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;
|
|
}
|
|
|
|
return 0;
|