ath9k: fix massive packet loss issue introduced by upstream cleanups
[librecmc/librecmc.git] / package / mac80211 / patches / 550-ath9k_rx_fix.patch
1 --- a/drivers/net/wireless/ath/ath9k/common.c
2 +++ b/drivers/net/wireless/ath/ath9k/common.c
3 @@ -203,6 +203,7 @@ int ath9k_cmn_rx_skb_preprocess(struct a
4  {
5         struct ath_hw *ah = common->ah;
6  
7 +       memset(rx_status, 0, sizeof(struct ieee80211_rx_status));
8         if (!ath9k_rx_accept(common, skb, rx_status, rx_stats, decrypt_error))
9                 return -EINVAL;
10