aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/309-mac80211-make-local-tx_headroom-a-multiple-of-4.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-10-30 15:17:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-10-30 15:17:56 +0000
commitd2dc5092764d32155c95b8358903d1a88de47231 (patch)
treee7407a762a23a909064b6e4bbb06b2a775a25e00 /package/kernel/mac80211/patches/309-mac80211-make-local-tx_headroom-a-multiple-of-4.patch
parent27d27caaf4f255a7d99ddeb87c5bd1f2c44477ce (diff)
downloadmaster-187ad058-d2dc5092764d32155c95b8358903d1a88de47231.tar.gz
master-187ad058-d2dc5092764d32155c95b8358903d1a88de47231.tar.bz2
master-187ad058-d2dc5092764d32155c95b8358903d1a88de47231.zip
mac80211: update to wireless-testing 2015-10-26
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47286 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/309-mac80211-make-local-tx_headroom-a-multiple-of-4.patch')
-rw-r--r--package/kernel/mac80211/patches/309-mac80211-make-local-tx_headroom-a-multiple-of-4.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/kernel/mac80211/patches/309-mac80211-make-local-tx_headroom-a-multiple-of-4.patch b/package/kernel/mac80211/patches/309-mac80211-make-local-tx_headroom-a-multiple-of-4.patch
deleted file mode 100644
index e8e96173f4..0000000000
--- a/package/kernel/mac80211/patches/309-mac80211-make-local-tx_headroom-a-multiple-of-4.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From: Felix Fietkau <nbd@openwrt.org>
-Date: Thu, 30 Jul 2015 14:12:25 +0200
-Subject: [PATCH] mac80211: make local->tx_headroom a multiple of 4
-
-This ensures that mac80211 generated management frames and beacons are
-aligned before being passed to the driver
-
-Signed-off-by: Felix Fietkau <nbd@openwrt.org>
----
-
---- a/net/mac80211/main.c
-+++ b/net/mac80211/main.c
-@@ -1031,6 +1031,7 @@ int ieee80211_register_hw(struct ieee802
- */
- local->tx_headroom = max_t(unsigned int , local->hw.extra_tx_headroom,
- IEEE80211_TX_STATUS_HEADROOM);
-+ local->tx_headroom = ALIGN(local->tx_headroom, 4);
-
- debugfs_hw_add(local);
-