diff options
author | Bing Zhao <bzhao@marvell.com> | 2013-03-15 18:47:07 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 10:16:37 -0700 |
commit | b9f1f48ce20a1b923429c216669d03b5a900a8cf (patch) | |
tree | 5feb72acc0dbf3efd7a7cbb85aa8a824074fdb18 /net/irda | |
parent | 8cc034e4c1b7901787bbf72908bc584c055b5e09 (diff) |
mwifiex: cancel cmd timer and free curr_cmd in shutdown process
commit 084c7189acb3f969c855536166042e27f5dd703f 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: Marco Cesarano <marco@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions