]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath9k: fix beacon restart on channel change
authorRajkumar Manoharan <rmanoharan@atheros.com>
Thu, 30 Dec 2010 13:37:44 +0000 (19:07 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:46:53 +0000 (14:46 -0800)
commit0a92ff6a8606f7e38053b4af5488532403e7a9a9
treeca4ef1eb88681a1ed5d773edb1ba62804d52e204
parent937d8fb4f80b17de1d7e541c850d215875558e81
ath9k: fix beacon restart on channel change

commit 1186488b4a4d4871e40cb1604ba3ede3d4b7cc90 upstream.

Restart the beacon timers only if the beacon
was already configured. Otherwise beacons timers
are restarted unnecessarily in unassociated state too.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/main.c