diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-07-17 07:45:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-17 15:11:38 -0400 |
commit | ef4ad63368e6162fb0b18861748fac49edfcbd03 (patch) | |
tree | 3ac3958361fe7ae2b12b4ef9c580f1a5faa65d8a /drivers/net/wireless/ath/ath9k/recv.c | |
parent | 6c43c090a92938c3e89ce3b7459f91c5159535e2 (diff) |
ath9k: Cleanup beacon logic
* The beaconing status routine is not required, since in
multi-VIF cases the HW beacon parameters should not be
re-configured.
* Remove SC_OP_TSF_RESET - when a beaconing interface comes
up the first time, the TSF has to be reset.
* Simplify ath9k_allow_beacon_config().
* Handle setting/clearing the SWBA interrupt properly.
* Remove the TSF mangling in IBSS mode, it is not required.
* General code cleanup.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.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 11f3703a420a..12aca02228c2 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -553,7 +553,7 @@ static void ath_rx_ps_beacon(struct ath_softc *sc, struct sk_buff *skb) | |||
553 | sc->ps_flags &= ~PS_BEACON_SYNC; | 553 | sc->ps_flags &= ~PS_BEACON_SYNC; |
554 | ath_dbg(common, PS, | 554 | ath_dbg(common, PS, |
555 | "Reconfigure Beacon timers based on timestamp from the AP\n"); | 555 | "Reconfigure Beacon timers based on timestamp from the AP\n"); |
556 | ath_set_beacon(sc); | 556 | ath9k_set_beacon(sc); |
557 | } | 557 | } |
558 | 558 | ||
559 | if (ath_beacon_dtim_pending_cab(skb)) { | 559 | if (ath_beacon_dtim_pending_cab(skb)) { |