aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-13 03:03:27 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:28 -0400
commitb002a4a950e41326310795cf4a0c74d0e90fa70a (patch)
tree57057bf14397542cab1c5c558727e9cec6e379eb /drivers/net/wireless/ath/ath.h
parent13b81559200b8e54473e5b140323cbb5f2bb21c0 (diff)
atheros: add ieee80211_hw to ath_common
Make use of it on hw code in ath9k to avoid using the ath9k ath_softc. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h
index 0582ee4a493e..88654138f999 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -19,6 +19,7 @@
19 19
20#include <linux/skbuff.h> 20#include <linux/skbuff.h>
21#include <linux/if_ether.h> 21#include <linux/if_ether.h>
22#include <net/mac80211.h>
22 23
23static const u8 ath_bcast_mac[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; 24static const u8 ath_bcast_mac[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
24 25
@@ -46,6 +47,7 @@ struct ath_ops {
46 47
47struct ath_common { 48struct ath_common {
48 void *ah; 49 void *ah;
50 struct ieee80211_hw *hw;
49 u16 cachelsz; 51 u16 cachelsz;
50 u16 curaid; 52 u16 curaid;
51 u8 macaddr[ETH_ALEN]; 53 u8 macaddr[ETH_ALEN];