]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Reset SC_OP_TSF_RESET flag after stuck beacon
authorJeff Hansen <x@jeffhansen.com>
Wed, 27 May 2009 12:48:27 +0000 (12:48 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:11 +0000 (14:05 -0400)
commit8b1741293b27157fa3f05481db82ad589a8bc916
treeeffc92d468bed9ffff6476cd9ed6b19d158b3048
parentbdebaf66439b6ddc4fd2e5107043a6da742c8263
ath9k: Reset SC_OP_TSF_RESET flag after stuck beacon

I have a TrendNet 652-BRP running OpenWRT + ath9k very well.  The only
problem is that the beacon gets stuck maybe once a day.  After
Vasanthakumar Thiagarajan's "ath9k: cleanup beacon parameters
configuration" patch, ath9k would nearly re-configure the beacons after it
detected the stuck beacon, and did a reset.  But it would fail the
SC_OP_TSF_RESET check in ath_beacon_config_ap.  This patch gets the beacon
fully reconfigured after the reset.

Signed-off-by: Jeff Hansen <x@jeffhansen.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c