ath9k: revert one more linux upstream commit in the initvals to fully fix the ar938x...
[openwrt.git] / package / mac80211 / patches / 566-ath9k_fix_keymiss.patch
1 --- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
3 @@ -558,10 +558,11 @@ int ath9k_hw_process_rxdesc_edma(struct
4 rxs->rs_status |= ATH9K_RXERR_DECRYPT;
5 else if (rxsp->status11 & AR_MichaelErr)
6 rxs->rs_status |= ATH9K_RXERR_MIC;
7 - if (rxsp->status11 & AR_KeyMiss)
8 - rxs->rs_status |= ATH9K_RXERR_KEYMISS;
9 }
10
11 + if (rxsp->status11 & AR_KeyMiss)
12 + rxs->rs_status |= ATH9K_RXERR_KEYMISS;
13 +
14 return 0;
15 }
16 EXPORT_SYMBOL(ath9k_hw_process_rxdesc_edma);
17 --- a/drivers/net/wireless/ath/ath9k/mac.c
18 +++ b/drivers/net/wireless/ath/ath9k/mac.c
19 @@ -621,10 +621,11 @@ int ath9k_hw_rxprocdesc(struct ath_hw *a
20 rs->rs_status |= ATH9K_RXERR_DECRYPT;
21 else if (ads.ds_rxstatus8 & AR_MichaelErr)
22 rs->rs_status |= ATH9K_RXERR_MIC;
23 - if (ads.ds_rxstatus8 & AR_KeyMiss)
24 - rs->rs_status |= ATH9K_RXERR_KEYMISS;
25 }
26
27 + if (ads.ds_rxstatus8 & AR_KeyMiss)
28 + rs->rs_status |= ATH9K_RXERR_KEYMISS;
29 +
30 return 0;
31 }
32 EXPORT_SYMBOL(ath9k_hw_rxprocdesc);
This page took 0.037738 seconds and 5 git commands to generate.