ath9k: Reconfigure beacon timers after the scan is completed.
authorVivek Natarajan <vivek.natraj@gmail.com>
Wed, 2 Sep 2009 10:20:55 +0000 (15:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Sep 2009 19:29:04 +0000 (15:29 -0400)
Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c

index efee193..c2efdf2 100644 (file)
@@ -2773,6 +2773,7 @@ static void ath9k_sw_scan_complete(struct ieee80211_hw *hw)
        sc->sc_flags &= ~SC_OP_SCANNING;
        sc->sc_flags |= SC_OP_FULL_RESET;
        spin_unlock_bh(&sc->ani_lock);
+       ath_beacon_config(sc, NULL);
        mutex_unlock(&sc->mutex);
 }