RE: [ 25/68] mwifiex: cancel cmd timer and free curr_cmd in shutdown process

Bing Zhao
2013-04-08T18:01:33Z

Hi Greg,

> 3.4-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Bing Zhao <bzhao@marvell.com>
>
> 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>
>

This patch is intended for kernel 3.8+.
Please drop it from linux-3.4.y queue.

Thanks,
Bing