ath5k: update beacons in AP mode
authorBob Copeland <me@bobcopeland.com>
Mon, 18 May 2009 14:59:52 +0000 (10:59 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:28 +0000 (14:46 -0400)
commit1071db863b129847cedb65339d1e87ecf5952a8b
treef383e088fe7d19bf4f8a59ada10bcd6deb196464
parent4de2dc74a1c7dedcfbe8290316f1a239a7c86554
ath5k: update beacons in AP mode

ath5k only generated the beacon when bss_info_changed() was called,
but for AP mode this is not enough, because the TIM IE would never
get updated and consequently PS mode clients wouldn't know about
buffered frames.  Instead, get a new beacon on every SWBA interrupt.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c