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)
commit10add41f2b7a7bc1a74ba7bb535a6745cac318a2
treeb68d37b6dd1eed4ac797b651fc1b830a3ce3e869
parentdfa8fc69d92f8418e1296d762f3b1624df59f0ac
ath9k: Fix improper beacon slot selection in IBSS

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