]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libertas: clear current command on card removal
authorDan Williams <dcbw@redhat.com>
Mon, 8 Sep 2008 20:34:40 +0000 (16:34 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:38 +0000 (15:53 -0400)
commit71b35f3abeb8f7f7e0afd7573424540cc5aae2d5
tree08c190a3d56d5ca9a4347b797035db63f89592ed
parent771fd565195727d12f0b75d918b9fcb9f33a5476
libertas: clear current command on card removal

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>
Cc: stable <stable@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c