aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/307-pending-ath5k-zero-out-rx_status.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-11 17:49:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-11 17:49:11 +0000
commit64dc67c44a237d8d036e3488e4ff7ecf1a0d04e4 (patch)
treeb3a7f7379e5fc8a600e2989937461c31115b6696 /package/mac80211/patches/307-pending-ath5k-zero-out-rx_status.patch
parent381b57a6ea6990b5ae7a5fd625581674fee2bb5f (diff)
downloadupstream-64dc67c44a237d8d036e3488e4ff7ecf1a0d04e4.tar.gz
upstream-64dc67c44a237d8d036e3488e4ff7ecf1a0d04e4.tar.bz2
upstream-64dc67c44a237d8d036e3488e4ff7ecf1a0d04e4.zip
mac80211: update rt2x00 rx_status patch
Also remove the superfluous ones for ath5k, p54. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34637 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/307-pending-ath5k-zero-out-rx_status.patch')
-rw-r--r--package/mac80211/patches/307-pending-ath5k-zero-out-rx_status.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/package/mac80211/patches/307-pending-ath5k-zero-out-rx_status.patch b/package/mac80211/patches/307-pending-ath5k-zero-out-rx_status.patch
deleted file mode 100644
index 3f8723adb0..0000000000
--- a/package/mac80211/patches/307-pending-ath5k-zero-out-rx_status.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 4c0faf816beeb5d4175cff09c96e668a49ad032f Mon Sep 17 00:00:00 2001
-From: Gabor Juhos <juhosg@openwrt.org>
-Date: Tue, 11 Dec 2012 14:16:15 +0100
-Subject: [PATCH 2/3] ath5k: zero-out rx_status
-
-In commit 'mac80211: support radiotap vendor namespace RX data'
-new fields were added to 'struct ieee80211_rx_status'.
-The ath5k driver does not initializes those fields and
-this can cause unexpected behaviour. The patch ensures
-that each field gets initialized with zeroes.
-
-Cc: <ath5k-devel@lists.ath5k.org>
-Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
----
-Compile tested only.
----
- drivers/net/wireless/ath/ath5k/base.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/net/wireless/ath/ath5k/base.c
-+++ b/drivers/net/wireless/ath/ath5k/base.c
-@@ -1325,8 +1325,8 @@ ath5k_receive_frame(struct ath5k_hw *ah,
- ath5k_remove_padding(skb);
-
- rxs = IEEE80211_SKB_RXCB(skb);
-+ memset(rxs, 0, sizeof(*rxs));
-
-- rxs->flag = 0;
- if (unlikely(rs->rs_status & AR5K_RXERR_MIC))
- rxs->flag |= RX_FLAG_MMIC_ERROR;
-