From: Amitkumar Karwar Date: Fri, 28 Feb 2014 03:35:16 +0000 (-0800) Subject: mwifiex: skipping pending commands after unload X-Git-Tag: v3.15-rc1~113^2~159^2^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace273551b7c9c2cfbfc606ac4cd518c67f80faf;p=pandora-kernel.git mwifiex: skipping pending commands after unload We skip downloading other commands after FUNC_SHUTDOWN is queued during driver unload. Main thread should be woken up each time after freeing skipped command so that FUNC_SHUTDOWN gets served in case if there are other pending commands before FUNC_SHUTDOWN. Also, call mwifiex_complete_cmd() only for synchronous commands. Reported-by: Avery Pennarun Signed-off-by: Amitkumar Karwar Signed-off-by: Maithili Hinge Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed