From: Holger Schurig Date: Wed, 30 Apr 2008 08:51:15 +0000 (+0200) Subject: libertas: allow removal of card at any time X-Git-Tag: v2.6.27-rc1~969^2~452 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=652e3f208619dfe75867349d6164afe735eaf159;p=pandora-kernel.git libertas: allow removal of card at any time This fixes several problems I had: * when removing the card while the card was scanning or associtating, it could happen that destroy_workqueue() stuck and didn't return. * make sure the command function doesn't run while we remove the list of pending commands * for still unknown reason, I had calls to lbs_stop_card() with priv==NULL Signed-off-by: Holger Schurig Acked-by: Dan Williams Signed-off-by: John W. Linville --- Reading git-diff-tree failed