]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: Fix TBTT calculation for IBSS mode
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Mon, 21 Feb 2011 02:20:01 +0000 (07:50 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Feb 2011 21:25:28 +0000 (16:25 -0500)
commit0f480d98c25b10d873d649ab1223960698245194
tree81eaf8a105f904768326f736bc0ae38395c2841c
parent725cb052b46234b5236c29facb74e99e0ca4b23b
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