Revert "ath9k: Parse DTIM period from mac80211"
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Thu, 30 Dec 2010 06:48:01 +0000 (12:18 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:43:01 +0000 (14:43 -0500)
commitbd8027a72a1af95efd1dc8ea6df2fd9724c885b2
tree9845cb15e26a2f0a64ccc707368a60cafb8c8392
parentff039c6fb372c87a3cc4fd25bb846790cb35edb8
Revert "ath9k: Parse DTIM period from mac80211"

This reverts commit 0ce3bcfc84900a64347b0fe1140229bd81314008.

Event though with the above commit we obtain the configured DTIM period
from the AP rather than always hardcoding it to '1', this seems to cause
problems under the following scenarios:
* Preventing association with broken AP's
* Adds latency in roaming
So its better to always use the safe value of '1' for dtim period

Cc: Jouni Malinen <Jouni.Malinen@Atheros.com>
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/init.c