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
This commit is contained in:
Felix Fietkau
2009-11-15 21:21:52 +00:00
parent bd8e2a1324
commit 0f99d41ff1

View File

@@ -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;