aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/ibmasmfs.c
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2013-03-15 18:47:07 -0700
committerJohn W. Linville <linville@tuxdriver.com>2013-03-18 15:20:38 -0400
commit084c7189acb3f969c855536166042e27f5dd703f (patch)
tree215f39dcee2c53e7f59459c26296ec934fa52bf6 /drivers/misc/ibmasm/ibmasmfs.c
parentmwifiex: skip pending commands after function shutdown (diff)
downloadlinux-dev-084c7189acb3f969c855536166042e27f5dd703f.tar.xz
linux-dev-084c7189acb3f969c855536166042e27f5dd703f.zip
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>
Diffstat (limited to 'drivers/misc/ibmasm/ibmasmfs.c')
0 files changed, 0 insertions, 0 deletions