aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/550-ath9k_rx_fix.patch
blob: cdef13cf33cd899f62cf43331683c2f830cdff90 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/drivers/net/wireless/ath/ath9k/common.c
+++ b/drivers/net/wireless/ath/ath9k/common.c
@@ -203,6 +203,7 @@ int ath9k_cmn_rx_skb_preprocess(struct a
 {
 	struct ath_hw *ah = common->ah;
 
+	memset(rx_status, 0, sizeof(struct ieee80211_rx_status));
 	if (!ath9k_rx_accept(common, skb, rx_status, rx_stats, decrypt_error))
 		return -EINVAL;