summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-15 22:27:17 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-11-16 14:17:13 -0500
commitdd6ae4f877ce8cde9f57046a8eea4efc46950502 (patch)
tree90c0fda951494509b840c61c82ce26e0d563760c /drivers/net/wireless/ath/ath9k
parent31a4cf1f22677ba1ea90be055bc20aac25b8e7c4 (diff)
downloadtalos-obmc-linux-dd6ae4f877ce8cde9f57046a8eea4efc46950502.tar.gz
talos-obmc-linux-dd6ae4f877ce8cde9f57046a8eea4efc46950502.zip
ath9k: fix massive rx packet loss issue
This patch fixes a regression introduced in "ath9k: avoid the copy skb->cb on every RX'd skb" With that change, the rx status in skb->cb was left uninitialized Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r--drivers/net/wireless/ath/ath9k/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.c b/drivers/net/wireless/ath/ath9k/common.c
index acd4bb503dfc..2f1e1612e2ad 100644
--- 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 ath_common *common,
{
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;
OpenPOWER on IntegriCloud