Browse Source

ath9k: Update comments for not parsing DTIM period

Add few comments for not parsing DTIM period from mac80211

Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Mohammed Shafi Shajakhan 14 years ago
parent
commit
3a2329f268
1 changed files with 3 additions and 2 deletions
  1. 3 2
      drivers/net/wireless/ath/ath9k/beacon.c

+ 3 - 2
drivers/net/wireless/ath/ath9k/beacon.c

@@ -721,8 +721,9 @@ void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)
 		cur_conf->beacon_interval = 100;
 		cur_conf->beacon_interval = 100;
 
 
 	/*
 	/*
-	 * Some times we dont parse dtim period from mac80211, in that case
-	 * use a default value
+	 * We don't parse dtim period from mac80211 during the driver
+	 * initialization as it breaks association with hidden-ssid
+	 * AP and it causes latency in roaming
 	 */
 	 */
 	if (cur_conf->dtim_period == 0)
 	if (cur_conf->dtim_period == 0)
 		cur_conf->dtim_period = 1;
 		cur_conf->dtim_period = 1;