Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit b9f1f48c authored by Bing Zhao's avatar Bing Zhao Committed by Greg Kroah-Hartman
Browse files

mwifiex: cancel cmd timer and free curr_cmd in shutdown process


commit 084c7189 upstream.

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.

Tested-by: default avatarMarco Cesarano <marco@marvell.com>
Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8cc034e4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment