at76c50x-usb: fix oops on disconnect
commitdeda862e699f0aba6f0975e138a0258d1b29f2df
authorJason Andryuk <jandryuk@gmail.com>
Sat, 21 Feb 2009 07:53:14 +0000 (21 09:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:53:00 +0000 (27 14:53 -0500)
treefa13583ac379d8837012cd65c59ca0b14b14a4aa
parent2f92cd2e5f1751f7da5fa9b58e0ab22da6577cfd
at76c50x-usb: fix oops on disconnect

flush_workqueue needs to be called instead of the generic one and the
associated functions need to be modified to prevent re-adding
themselves to the workqueue.

The rx_tasklet is also killed in the small (?) chance it is scheduled.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/at76c50x-usb.c