ath9k: move workqueue cancels to stop callback
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 27 Jul 2009 18:53:04 +0000 (11:53 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:43:19 +0000 (16:43 -0400)
commitc94dbff7996b861fb0ff730bdf6eac4e2b288402
treebb481c6e5c3f57af5807c18ba00c780fd8ad4110
parent35c95ab9b5ea3a2bf69d049d5437bb831e9bddf3
ath9k: move workqueue cancels to stop callback

We should be cancelling our work at the stop callback since
we are borrowing the mac80211 workqueue for our work. As it
stands mac80211 expects this for suspend purposes.

The ath9k specific virtual wiphy stuff need only be
cancelled only when the we have no secondary virtual wiphys.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c