aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath9k/main.c2
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);