]> git.karo-electronics.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 23:13:55 +0000 (15:13 -0800)
commit90f2908a67679cdfb97bb7d20ca51f88a5c2d5fd
tree1a29633fb9b635bad42f98753f89a8e74cafe869
parentdb4a0073267b95ed9bb12d78d5a0f1398057b966
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