aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-10 12:22:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:25 -0400
commit1510718d0fd6e20803aac95fe1d8a44846098a34 (patch)
tree924cfeb647beae71e2d56f10bb6bf15f246b42fc /drivers/net/wireless/ath/ath.h
parent3453ad8839ca91e1c11211d4d87dc3657c5a2b44 (diff)
atheros/ath9k: move macaddr, curaid, curbssid and bssidmask to common
These are common amongst ath9k and ath5k, so put them into the common structure and make ath9k to use it. ar9170 can use macaddr, and curbssid. We'll change ath5k and ar9170 separately. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h
index 44f885a37c11..7589b2aa030b 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -41,6 +41,10 @@ struct ath_regulatory {
41 41
42struct ath_common { 42struct ath_common {
43 u16 cachelsz; 43 u16 cachelsz;
44 u16 curaid;
45 u8 macaddr[ETH_ALEN];
46 u8 curbssid[ETH_ALEN];
47 u8 bssidmask[ETH_ALEN];
44 struct ath_regulatory regulatory; 48 struct ath_regulatory regulatory;
45}; 49};
46 50