ath9k: Update comments for not parsing DTIM period
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Mon, 7 Feb 2011 15:38:28 +0000 (21:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Feb 2011 21:18:28 +0000 (16:18 -0500)
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>
drivers/net/wireless/ath/ath9k/beacon.c

index 87ba44c06692ccf75fe75c240e6875b24f801caf..fcb36abfc309e34beb71b663f1976bb540f9048d 100644 (file)
@@ -721,8 +721,9 @@ void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif)
                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)
                cur_conf->dtim_period = 1;