diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-10-29 00:48:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 15:17:32 -0500 |
commit | 7f959032bbee5eedaf4c606d11f0c5d41498644e (patch) | |
tree | 342167cfbbd98a3f78705ecd5f0208dd13a312f1 /drivers/net/wireless | |
parent | ccc75c526611e62c4c9adcb4a62bf4a164478d2c (diff) |
ath9k: Clear HT info on starting the driver
Doing an interface down/up leaves the old HT assoc
information, clear it.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 85a23c6a9d83..e177de47e3e0 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -978,6 +978,8 @@ static int ath9k_start(struct ieee80211_hw *hw) | |||
978 | DPRINTF(sc, ATH_DBG_CONFIG, "%s: Starting driver with " | 978 | DPRINTF(sc, ATH_DBG_CONFIG, "%s: Starting driver with " |
979 | "initial channel: %d MHz\n", __func__, curchan->center_freq); | 979 | "initial channel: %d MHz\n", __func__, curchan->center_freq); |
980 | 980 | ||
981 | memset(&sc->sc_ht_info, 0, sizeof(struct ath_ht_info)); | ||
982 | |||
981 | /* setup initial channel */ | 983 | /* setup initial channel */ |
982 | 984 | ||
983 | pos = ath_get_channel(sc, curchan); | 985 | pos = ath_get_channel(sc, curchan); |