ath9k: fix massive packet loss issue introduced by upstream cleanups

SVN-Revision: 18428
lede-17.01
Felix Fietkau 2009-11-15 21:21:52 +00:00
parent a7ddfc6e79
commit 0a5fa7b10e
1 changed files with 10 additions and 0 deletions

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;