aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-15 21:21:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-15 21:21:52 +0000
commit0a5fa7b10e0961839a5610949d816aa966b5891e (patch)
tree9dc8beae373f0aadacba5cd8e56f97e07ddad6bf
parenta7ddfc6e79ad33cda672a06d016c7ae292b3861c (diff)
downloadupstream-0a5fa7b10e0961839a5610949d816aa966b5891e.tar.gz
upstream-0a5fa7b10e0961839a5610949d816aa966b5891e.tar.bz2
upstream-0a5fa7b10e0961839a5610949d816aa966b5891e.zip
ath9k: fix massive packet loss issue introduced by upstream cleanups
SVN-Revision: 18428
-rw-r--r--package/mac80211/patches/550-ath9k_rx_fix.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/550-ath9k_rx_fix.patch b/package/mac80211/patches/550-ath9k_rx_fix.patch
new file mode 100644
index 0000000000..cdef13cf33
--- /dev/null
+++ b/package/mac80211/patches/550-ath9k_rx_fix.patch
@@ -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;
+