From: Bing Zhao Date: Sat, 16 Mar 2013 01:47:06 +0000 (-0700) Subject: mwifiex: skip pending commands after function shutdown X-Git-Tag: v3.9-rc5~28^2~18^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3e240cacc93a06bff3313e28938e980d01a2160;p=pandora-kernel.git mwifiex: skip pending commands after function shutdown During rmmod mwifiex_sdio processing FUNC_SHUTDOWN command is sent to firmware. Firmware expcets only FUNC_INIT once WLAN function is shut down. Any command pending in the command queue should be ignored and freed. Cc: # 3.8 Tested-by: Daniel Drake Tested-by: Marco Cesarano Signed-off-by: Bing Zhao Signed-off-by: Amitkumar Karwar Signed-off-by: John W. Linville --- Reading git-diff-tree failed