]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Resync beacons properly
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 4 Jun 2012 14:54:13 +0000 (20:24 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jun 2012 19:20:32 +0000 (15:20 -0400)
commitd812c683ac6c9ad4c042aca6457a615a950cc8c8
tree5ba7df797b2c1084a03634b22763326a75848fd6
parentf4c5a76715d337065b673f0933afc16ea420301a
ath9k: Resync beacons properly

After a chip reset, the beacon timers have to re-programmed
correctly for a station in associated state. Use the PS flags
to ensure that this is done after a TSF sync happens, otherwise
the driver ends up using incorrect values for TBTT/DTIM in
powersave mode.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c