summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-09 22:43:17 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:25 -0400
commitbcd8f54a84ce99ade91c250a9bc850a9fd3389c1 (patch)
treeb17a29b781c0ea56f567d18f45e2d0cdc29bada2 /drivers/net/wireless/ath/ath.h
parent17753748e15eaf29c8db15c5c05b8dde5db6e64d (diff)
downloadblackbird-op-linux-bcd8f54a84ce99ade91c250a9bc850a9fd3389c1.tar.gz
blackbird-op-linux-bcd8f54a84ce99ade91c250a9bc850a9fd3389c1.zip
atheros: use get_unaligned_le*() for bssid mask setting
Historically some macro helpers have been users for this, AR5K_LOW_ID() and AR5K_HIGH_ID(), use upstream unaligned helpers instead. This applid to ath5k and ar9170. ath9k already uses this. Worth noting is ath5k uses an ah_sta_id but that is already the MAC address combined with the associaiton ID, ah_sta_id is really ETH_ALEN in size. Cc: Bob Copeland <me@bobcopeland.com> Cc: Nick Kossifidis <mick@madwifi-project.org> Cc: Christian Lamparter <chunkeey@web.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r--drivers/net/wireless/ath/ath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h
index 59072e3820d0..44f885a37c11 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -18,6 +18,7 @@
#define ATH_H
#include <linux/skbuff.h>
+#include <linux/if_ether.h>
static const u8 ath_bcast_mac[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
OpenPOWER on IntegriCloud