aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/beacon.c
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanoharan@atheros.com>2011-04-22 05:20:39 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-26 15:50:28 -0400
commit92c6f76c6d44a869bf3b252dbb2e358ae7399a96 (patch)
tree60aebd67f9afca5ee1e664cea6dfdec6ce55d5cc /drivers/net/wireless/ath/ath9k/beacon.c
parent3782c69d6e35e698bcc2aefe803e62d06c5c4997 (diff)
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/beacon.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/beacon.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c
index 24f565ba998..22cd241a098 100644
--- a/drivers/net/wireless/ath/ath9k/beacon.c
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
@@ -781,12 +781,6 @@ void ath_set_beacon(struct ath_softc *sc)
781 break; 781 break;
782 case NL80211_IFTYPE_STATION: 782 case NL80211_IFTYPE_STATION:
783 ath_beacon_config_sta(sc, cur_conf); 783 ath_beacon_config_sta(sc, cur_conf);
784 /*
785 * Request a re-configuration of Beacon related timers
786 * on the receipt of the first Beacon frame (i.e.,
787 * after time sync with the AP).
788 */
789 sc->ps_flags |= PS_BEACON_SYNC | PS_WAIT_FOR_BEACON;
790 break; 784 break;
791 default: 785 default:
792 ath_dbg(common, ATH_DBG_CONFIG, 786 ath_dbg(common, ATH_DBG_CONFIG,