diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2011-04-04 13:26:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-07 15:49:40 -0400 |
commit | 99e4d43ad5ff5778f92ee3bc40a29ac7cd8a28f4 (patch) | |
tree | 35f19c1d608a4abff349f68529f8e8ce817837cc /drivers/net/wireless/ath/ath9k/recv.c | |
parent | 4f5ef75b155955bf92adc772c6660787151fc78c (diff) |
ath9k: configure beacons based on hw opmode
Current ath9k code does not handle beacon timers on opmode
specific. One such example is that a STA beacon config overwrites
already configured AP vif's beacon timers during scan.
On multi station vif case, configure beacon timers beased
on primary vif selected. This also helps while moving back
to single STA vif from multi STA vifs, where the power save
is enabled and hw has to be reconfigured with proper
beacon and bssid/aid. Otherwise connection poll will be triggered
so frequently due to beacon loss.
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/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index a9c3f4672aa0..3842b7518661 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -574,7 +574,7 @@ static void ath_rx_ps_beacon(struct ath_softc *sc, struct sk_buff *skb) | |||
574 | sc->ps_flags &= ~PS_BEACON_SYNC; | 574 | sc->ps_flags &= ~PS_BEACON_SYNC; |
575 | ath_dbg(common, ATH_DBG_PS, | 575 | ath_dbg(common, ATH_DBG_PS, |
576 | "Reconfigure Beacon timers based on timestamp from the AP\n"); | 576 | "Reconfigure Beacon timers based on timestamp from the AP\n"); |
577 | ath_beacon_config(sc, NULL); | 577 | ath_set_beacon(sc); |
578 | } | 578 | } |
579 | 579 | ||
580 | if (ath_beacon_dtim_pending_cab(skb)) { | 580 | if (ath_beacon_dtim_pending_cab(skb)) { |