summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-08 22:13:51 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-10-11 21:04:19 +0200
commitdfdac8ac033c9ad048a5c68563bd41bda6c5e60b (patch)
treefa8b5c6b3e0cd6237f646ef5bcafd7272d7262c6 /drivers/net/wireless/ath/ath.h
parentath5k: Adjust opmode when interfaces are removed. (diff)
downloadlinux-dfdac8ac033c9ad048a5c68563bd41bda6c5e60b.tar.xz
linux-dfdac8ac033c9ad048a5c68563bd41bda6c5e60b.zip
ath9k_hw: store the clock rate in common data on channel changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org> 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 cee0191704f5..b36d9d770ff1 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -145,6 +145,8 @@ struct ath_common {
DECLARE_BITMAP(tkip_keymap, ATH_KEYMAX);
enum ath_crypt_caps crypt_caps;
+ unsigned int clockrate;
+
struct ath_regulatory regulatory;
const struct ath_ops *ops;
const struct ath_bus_ops *bus_ops;