summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-15 21:21:52 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-15 21:21:52 +0000
commitc2144c8c76196ce70297b5fab836095ab0e7f8ec (patch)
tree3daf7f434ee572a55993e093e67182ee52989b7c
parentb55e7ea676fa7ba74fc260785baec58bb7f2a58b (diff)
ath9k: fix massive packet loss issue introduced by upstream cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18428 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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;
+