projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccc75c5
)
ath9k: Clear HT info on starting the driver
author
Sujith
<Sujith.Manoharan@atheros.com>
Wed, 29 Oct 2008 04:48:39 +0000
(10:18 +0530)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 10 Nov 2008 20:17:32 +0000
(15:17 -0500)
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>
drivers/net/wireless/ath9k/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath9k/main.c
b/drivers/net/wireless/ath9k/main.c
index 85a23c6a9d832ced4ab33b3646c9353efc803c14..e177de47e3e0fa4bf55a4388b734da72e00a43ab 100644
(file)
--- 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)
DPRINTF(sc, ATH_DBG_CONFIG, "%s: Starting driver with "
"initial channel: %d MHz\n", __func__, curchan->center_freq);
+ memset(&sc->sc_ht_info, 0, sizeof(struct ath_ht_info));
+
/* setup initial channel */
pos = ath_get_channel(sc, curchan);