diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-13 11:03:27 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-08 00:39:28 +0400 |
commit | b002a4a950e41326310795cf4a0c74d0e90fa70a (patch) | |
tree | 57057bf14397542cab1c5c558727e9cec6e379eb /drivers/net/wireless/ath/ath.h | |
parent | 13b81559200b8e54473e5b140323cbb5f2bb21c0 (diff) | |
download | linux-b002a4a950e41326310795cf4a0c74d0e90fa70a.tar.xz |
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.h | 2 |
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 @@ #include <linux/skbuff.h> #include <linux/if_ether.h> +#include <net/mac80211.h> static const u8 ath_bcast_mac[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; @@ -46,6 +47,7 @@ struct ath_ops { struct ath_common { void *ah; + struct ieee80211_hw *hw; u16 cachelsz; u16 curaid; u8 macaddr[ETH_ALEN]; |