diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 9400a9766a77..a3643fd86af9 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1116,7 +1116,7 @@ ieee80211_data_to_8023(struct ieee80211_rx_data *rx) | |||
1116 | u16 fc, hdrlen, ethertype; | 1116 | u16 fc, hdrlen, ethertype; |
1117 | u8 *payload; | 1117 | u8 *payload; |
1118 | u8 dst[ETH_ALEN]; | 1118 | u8 dst[ETH_ALEN]; |
1119 | u8 src[ETH_ALEN]; | 1119 | u8 src[ETH_ALEN] __aligned(2); |
1120 | struct sk_buff *skb = rx->skb; | 1120 | struct sk_buff *skb = rx->skb; |
1121 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); | 1121 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); |
1122 | DECLARE_MAC_BUF(mac); | 1122 | DECLARE_MAC_BUF(mac); |
@@ -1259,7 +1259,7 @@ ieee80211_data_to_8023(struct ieee80211_rx_data *rx) | |||
1259 | */ | 1259 | */ |
1260 | static bool ieee80211_frame_allowed(struct ieee80211_rx_data *rx) | 1260 | static bool ieee80211_frame_allowed(struct ieee80211_rx_data *rx) |
1261 | { | 1261 | { |
1262 | static const u8 pae_group_addr[ETH_ALEN] | 1262 | static const u8 pae_group_addr[ETH_ALEN] __aligned(2) |
1263 | = { 0x01, 0x80, 0xC2, 0x00, 0x00, 0x03 }; | 1263 | = { 0x01, 0x80, 0xC2, 0x00, 0x00, 0x03 }; |
1264 | struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data; | 1264 | struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data; |
1265 | 1265 | ||