summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-10-17 04:10:20 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-10-27 19:16:16 +0100
commit62ae1aef2070e9d281e2daab2447ab85d30df99a (patch)
treea804b16e5986e172c5619f9bf57739bcd326ab5b /drivers/net/wireless/ath/ath9k/ath9k.h
parentath9k: Send AUTHORIZED event only for station mode (diff)
downloadlinux-62ae1aef2070e9d281e2daab2447ab85d30df99a.tar.xz
linux-62ae1aef2070e9d281e2daab2447ab85d30df99a.zip
ath9k: Fix address management
Since both the arguments need to satisfy the alignment requirements of ether_addr_copy(), use memcpy() in cases where there will be no big performance benefit and make sure that ether_addr_copy() calls use properly aligned arguments. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index d4b71ed90236..9e92cb2145bc 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -595,7 +595,7 @@ struct ath_vif {
u16 seq_no;
/* BSS info */
- u8 bssid[ETH_ALEN];
+ u8 bssid[ETH_ALEN] __aligned(2);
u16 aid;
bool assoc;