ath9k: Handle ATH9K_BEACON_RESET_TSF properly
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / hw.c
index 0a3de3f7b0a68b44265bcf7bcd1407d1b075b614..eb408831f3cff9226cc034774c7b01410616388b 100644 (file)
@@ -3422,7 +3422,6 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period)
 
        beacon_period &= ~ATH9K_BEACON_ENA;
        if (beacon_period & ATH9K_BEACON_RESET_TSF) {
-               beacon_period &= ~ATH9K_BEACON_RESET_TSF;
                ath9k_hw_reset_tsf(ah);
        }