]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libertas: clear current command on card removal
authorDan Williams <dcbw@redhat.com>
Sat, 11 Oct 2008 16:55:19 +0000 (16:55 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 18 Oct 2008 17:49:12 +0000 (10:49 -0700)
commita273874b531262d699d4fc1fdc0037798997a123
tree5a7767e4b8e57ddd8d34f4ab786b18bbf792ed4b
parent95a3690291668508570c593ccc8b69af1f0e3f3f
libertas: clear current command on card removal

commit 71b35f3abeb8f7f7e0afd7573424540cc5aae2d5 upstream

If certain commands were in-flight when the card was pulled or the
driver rmmod-ed, cleanup would block on the work queue stopping, but the
work queue was in turn blocked on the current command being canceled,
which didn't happen.  Fix that.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/libertas/main.c