]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath9k_hw: remove ah->beacon_interval
authorFelix Fietkau <nbd@openwrt.org>
Sat, 11 Dec 2010 23:51:13 +0000 (00:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 13 Dec 2010 20:23:32 +0000 (15:23 -0500)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h

index a4389485e5154fd2ed3947e777a04d9c13bca2b0..d0a0acd15d4678cc17dafa128b7e61ab3eb5564d 100644 (file)
@@ -407,7 +407,6 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah)
        ah->sta_id1_defaults =
                AR_STA_ID1_CRPT_MIC_ENABLE |
                AR_STA_ID1_MCAST_KSRCH;
-       ah->beacon_interval = 100;
        ah->enable_32kHz_clock = DONT_USE_32KHZ;
        ah->slottime = (u32) -1;
        ah->globaltxtimeout = (u32) -1;
@@ -1628,8 +1627,6 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period)
 {
        int flags = 0;
 
-       ah->beacon_interval = beacon_period;
-
        ENABLE_REGWRITE_BUFFER(ah);
 
        switch (ah->opmode) {
index e99b39514e8dedbfa1cdd7587f4a0cd3e6da2b72..0db0ef69b4be3b53f4a09ec4d85393acf92e4e17 100644 (file)
@@ -764,7 +764,6 @@ struct ath_hw {
        u8 txpower_limit;
        int16_t txpower_indexoffset;
        int coverage_class;
-       u32 beacon_interval;
        u32 slottime;
        u32 globaltxtimeout;