From: Felix Fietkau Date: Sun, 15 Nov 2009 21:27:17 +0000 (+0100) Subject: ath9k: fix massive rx packet loss issue X-Git-Tag: upstream/snapshot3+hdmi~16449^2~280^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd6ae4f877ce8cde9f57046a8eea4efc46950502;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/common.c b/drivers/net/wireless/ath/ath9k/common.c index acd4bb5..2f1e161 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;