summaryrefslogtreecommitdiff
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorMichael Braun <michael-dev@fami-braun.de>2016-10-15 14:28:19 +0300
committerJohannes Berg <johannes.berg@intel.com>2016-10-17 12:43:33 +0300
commita3e2f4b6ed9de85086850fe49801f9b00adb6ae1 (patch)
treee3cbc8f949893d90583a81f0a47bfd5fe848c172 /net/mac80211/ieee80211_i.h
parent06f2bb1e017166c6413debc28cf72087679242fb (diff)
downloadlinux-a3e2f4b6ed9de85086850fe49801f9b00adb6ae1.tar.xz
mac80211: fix A-MSDU outer SA/DA
According to IEEE 802.11-2012 section 8.3.2 table 8-19, the outer SA/DA of A-MSDU frames need to be changed depending on FromDS/ToDS values. Signed-off-by: Michael Braun <michael-dev@fami-braun.de> [use ether_addr_copy and add alignment annotations] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 103187ca9474..42d194a04e1a 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -443,7 +443,7 @@ struct ieee80211_if_managed {
struct ieee80211_mgd_auth_data *auth_data;
struct ieee80211_mgd_assoc_data *assoc_data;
- u8 bssid[ETH_ALEN];
+ u8 bssid[ETH_ALEN] __aligned(2);
u16 aid;