Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 14/16] ath9k: Clear HT info on starting the driver
@ 2008-10-29  4:48 Sujith
  0 siblings, 0 replies; only message in thread
From: Sujith @ 2008-10-29  4:48 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, Jouni.Malinen, Luis.Rodriguez

Doing an interface down/up leaves the old HT assoc
information, clear it.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
---
 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 494d4a0..7b8b3d5 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -979,6 +979,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);
-- 
1.6.0.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-29  4:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29  4:48 [PATCH 14/16] ath9k: Clear HT info on starting the driver Sujith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox