aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-01 09:57:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-01 09:57:56 +0000
commit82211c7bcce1b003f45a3ce0e28a58dd15d05ed8 (patch)
tree63499f048d81d5f4769e16e12be1a83d60d10d54 /package/mac80211
parentbb5bccef7c7bd43a02b24a79e24dfe45a059890a (diff)
downloadupstream-82211c7bcce1b003f45a3ce0e28a58dd15d05ed8.tar.gz
upstream-82211c7bcce1b003f45a3ce0e28a58dd15d05ed8.tar.bz2
upstream-82211c7bcce1b003f45a3ce0e28a58dd15d05ed8.zip
mac80211: fix ad-hoc mode performance regression
SVN-Revision: 30758
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/300-pending_work.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index 25ebbb68c8..87a30efa0d 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -452,3 +452,14 @@
#ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG
printk(KERN_DEBUG "STA %pM aid %d: PS buffer for AC %d\n",
sta->sta.addr, sta->sta.aid, ac);
+--- a/net/mac80211/ieee80211_i.h
++++ b/net/mac80211/ieee80211_i.h
+@@ -480,7 +480,7 @@ struct ieee80211_if_ibss {
+
+ bool control_port;
+
+- u8 bssid[ETH_ALEN];
++ u8 bssid[ETH_ALEN] __aligned(2);
+ u8 ssid[IEEE80211_MAX_SSID_LEN];
+ u8 ssid_len, ie_len;
+ u8 *ie;