projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a4cf1
)
ath9k: fix massive rx packet loss issue
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 15 Nov 2009 21:27:17 +0000
(22:27 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 16 Nov 2009 19:17:13 +0000
(14:17 -0500)
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>
drivers/net/wireless/ath/ath9k/common.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/common.c
b/drivers/net/wireless/ath/ath9k/common.c
index
acd4bb5
..
2f1e161
100644
(file)
--- 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;