at76c50x-usb: cancel scan work at stop callback
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 27 Jul 2009 18:56:24 +0000 (11:56 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:43:19 +0000 (16:43 -0400)
commit9ed21d390166ceb89e011d3dbd277475ff2f33c4
tree13d7426c088823dcc9c75c5deac0fa08c667354e
parentebc8ab17d69cbaec6bb345a48a2cb87047643f63
at76c50x-usb: cancel scan work at stop callback

This should fix suspend as mac80211 expects all work queued
to the mac80211 workqueue to be canceled at driver stop().

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/at76c50x-usb.c