ath9k_htc: Fix TBTT calculation for IBSS mode
commit200be651f77f8407086873520436bf55a4468e26
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Mon, 21 Feb 2011 02:20:01 +0000 (21 07:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Feb 2011 21:25:28 +0000 (23 16:25 -0500)
tree81eaf8a105f904768326f736bc0ae38395c2841c
parenta5fae37d118bb633708b2787e53871e38bf3b15e
ath9k_htc: Fix TBTT calculation for IBSS mode

The target beacon transmission time has to be synced with the HW
TSF when configuring beacon timers in Adhoc mode. Failing to do this
would cause erroneous beacon transmission, for example, on completion
of a scan run to check for IBSS merges.

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