ath9k: Fix kernel panic on module unload
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 8 Apr 2011 11:36:25 +0000 (17:06 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Apr 2011 20:58:43 +0000 (16:58 -0400)
commitf60c49b67dd6db2ccb740a6a671414f9dab00c4f
treefe447a905fbe88cd5972015ea452a971d22001c1
parentd0ef824b9a712b866e38212089ade3a7114225a4
ath9k: Fix kernel panic on module unload

The commit "ath9k: configure beacons based on hw opmode" introduced
a regression which leads to kernel panic. Failed to stop ani timer
during the driver unload while any of the beaconing vif is running.

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