ath9k: Fix improper beacon slot selection in IBSS
authorRajkumar Manoharan <rmanoharan@atheros.com>
Tue, 12 Apr 2011 11:59:29 +0000 (17:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Apr 2011 19:35:07 +0000 (15:35 -0400)
Request a re-configuration of Beacon related timers
on the receipt of the first Beacon frame has to be set only
for station mode. Setting beacon sync for IBSS is causing
wrong beacon slot selection on beacon generation.

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