commit | 084c7189acb3f969c855536166042e27f5dd703f | [log] [tgz] |
---|---|---|
author | Bing Zhao <bzhao@marvell.com> | Fri Mar 15 18:47:07 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Mar 18 15:20:38 2013 -0400 |
tree | 215f39dcee2c53e7f59459c26296ec934fa52bf6 | |
parent | a3e240cacc93a06bff3313e28938e980d01a2160 [diff] |
mwifiex: cancel cmd timer and free curr_cmd in shutdown process curr_cmd points to the command that is in processing or waiting for its command response from firmware. If the function shutdown happens to occur at this time we should cancel the cmd timer and put the command back to free queue. Cc: <stable@vger.kernel.org> # 3.8 Tested-by: Marco Cesarano <marco@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>