ath9k: fix massive packet loss issue introduced by upstream cleanups
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Nov 2009 21:21:52 +0000 (21:21 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 15 Nov 2009 21:21:52 +0000 (21:21 +0000)
SVN-Revision: 18428

package/mac80211/patches/550-ath9k_rx_fix.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/550-ath9k_rx_fix.patch b/package/mac80211/patches/550-ath9k_rx_fix.patch
new file mode 100644 (file)
index 0000000..cdef13c
--- /dev/null
@@ -0,0 +1,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;