aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/334-mac80211-fix-wiphy-supported_band-access.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-22 16:08:09 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-22 16:08:09 +0200
commit44713c22f8513d21aef3c4148e412d5a042f3b28 (patch)
tree403178e10c27bb080da13225b6a7a5993cc9199c /package/kernel/mac80211/patches/334-mac80211-fix-wiphy-supported_band-access.patch
parent35bfff92f8acfae83d75d4eb58ac6f7f262d2786 (diff)
downloadmaster-187ad058-44713c22f8513d21aef3c4148e412d5a042f3b28.tar.gz
master-187ad058-44713c22f8513d21aef3c4148e412d5a042f3b28.tar.bz2
master-187ad058-44713c22f8513d21aef3c4148e412d5a042f3b28.zip
mac80211: update to wireless-testing 2016-05-12
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/334-mac80211-fix-wiphy-supported_band-access.patch')
-rw-r--r--package/kernel/mac80211/patches/334-mac80211-fix-wiphy-supported_band-access.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/package/kernel/mac80211/patches/334-mac80211-fix-wiphy-supported_band-access.patch b/package/kernel/mac80211/patches/334-mac80211-fix-wiphy-supported_band-access.patch
deleted file mode 100644
index f8f4f0999d..0000000000
--- a/package/kernel/mac80211/patches/334-mac80211-fix-wiphy-supported_band-access.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
-Date: Wed, 10 Feb 2016 16:08:17 +0100
-Subject: [PATCH] mac80211: fix wiphy supported_band access
-
-Fix wiphy supported_band access in tx radiotap parsing. In particular,
-info->band is always set to 0 (IEEE80211_BAND_2GHZ) since it has not
-assigned yet. This cause a kernel crash on 5GHz only devices.
-Move ieee80211_parse_tx_radiotap() after info->band assignment
-
-Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
----
-
---- a/net/mac80211/tx.c
-+++ b/net/mac80211/tx.c
-@@ -1890,10 +1890,6 @@ netdev_tx_t ieee80211_monitor_start_xmit
- info->flags = IEEE80211_TX_CTL_REQ_TX_STATUS |
- IEEE80211_TX_CTL_INJECTED;
-
-- /* process and remove the injection radiotap header */
-- if (!ieee80211_parse_tx_radiotap(local, skb))
-- goto fail;
--
- rcu_read_lock();
-
- /*
-@@ -1955,6 +1951,10 @@ netdev_tx_t ieee80211_monitor_start_xmit
- goto fail_rcu;
-
- info->band = chandef->chan->band;
-+ /* process and remove the injection radiotap header */
-+ if (!ieee80211_parse_tx_radiotap(local, skb))
-+ goto fail_rcu;
-+
- ieee80211_xmit(sdata, NULL, skb);
- rcu_read_unlock();
-