[x86] add cpu msr kernel module package
[openwrt.git] / package / mac80211 / patches / 510-ath9k_handle_keymiss.patch
1 --- a/drivers/net/wireless/ath/ath9k/mac.c
2 +++ b/drivers/net/wireless/ath/ath9k/mac.c
3 @@ -714,6 +714,8 @@ int ath9k_hw_rxprocdesc(struct ath_hw *a
4 else if ((ads.ds_rxstatus8 & AR_MichaelErr) &&
5 rs->rs_keyix != ATH9K_RXKEYIX_INVALID)
6 rs->rs_status |= ATH9K_RXERR_MIC;
7 + else if (ads.ds_rxstatus8 & AR_KeyMiss)
8 + rs->rs_status |= ATH9K_RXERR_DECRYPT;
9 }
10
11 return 0;
12 --- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
13 +++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
14 @@ -616,7 +616,8 @@ int ath9k_hw_process_rxdesc_edma(struct
15 rxs->rs_status |= ATH9K_RXERR_DECRYPT;
16 } else if (rxsp->status11 & AR_MichaelErr) {
17 rxs->rs_status |= ATH9K_RXERR_MIC;
18 - }
19 + } else if (rxsp->status11 & AR_KeyMiss)
20 + rxs->rs_status |= ATH9K_RXERR_DECRYPT;
21 }
22
23 return 0;
This page took 0.051402 seconds and 5 git commands to generate.