ath9k: set beacon related ps flags on bss_info change
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 22 Apr 2011 09:20:39 +0000 (14:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 26 Apr 2011 19:50:28 +0000 (15:50 -0400)
commit92c6f76c6d44a869bf3b252dbb2e358ae7399a96
tree60aebd67f9afca5ee1e664cea6dfdec6ce55d5cc
parent3782c69d6e35e698bcc2aefe803e62d06c5c4997
ath9k: set beacon related ps flags on bss_info change

Requesting beacon sync up to configure beacon timers properly
in hw, has be done after doing beacon config with default values.
Setting the flags in beacon config is causing the device to not
enter into network sleep on idle state.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/main.c