aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-04-13 12:26:36 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:46 -0400
commit9c07a7777f44c7e39accec5ad8c4293d6a9b2a47 (patch)
tree574a6cebcfaca6a0b12dd587393219488cec16ad /drivers
parent675902ef822c114c0dac17ed10eed43eb8f5c9ec (diff)
ath9k: Fix bug in scan termination
A full HW reset needs to be done on termination of a scan run. Not setting SC_OP_FULL_RESET resulted in doing a fast channel change. Cc: stable@kernel.org Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 1a9bf7ece4a5..b2d129f50339 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -2749,6 +2749,7 @@ static void ath9k_sw_scan_complete(struct ieee80211_hw *hw)
2749 mutex_lock(&sc->mutex); 2749 mutex_lock(&sc->mutex);
2750 aphy->state = ATH_WIPHY_ACTIVE; 2750 aphy->state = ATH_WIPHY_ACTIVE;
2751 sc->sc_flags &= ~SC_OP_SCANNING; 2751 sc->sc_flags &= ~SC_OP_SCANNING;
2752 sc->sc_flags |= SC_OP_FULL_RESET;
2752 mutex_unlock(&sc->mutex); 2753 mutex_unlock(&sc->mutex);
2753} 2754}
2754 2755