at76c50x-usb: additional disconnect fixes
authorJason Andryuk <jandryuk@gmail.com>
Sat, 21 Feb 2009 07:53:29 +0000 (09:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:53:01 +0000 (14:53 -0500)
commit1cc198fee9eb60d9dddbdcb6f32a6e36e5136769
tree5266bcb80d8ed0f8c1668a23c00bf6f0ebff62f9
parent5a2137ddcc4b4d0d9227db433eabaefa3c3bd924
at76c50x-usb: additional disconnect fixes

Additional attempts to fix Oops on disconnect, that appear to be successful.
However, some may be extraneous.

The cancel_delayed_work call is probably the most necessary.  The
device_unplugged check may not be necessary.  del_timer_sync may not
be necessary either, but the Oops I was receiving was related to
timers.  Hence the addition.

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