mwifiex: don't clear cmd_sent flag in timeout handler
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 17 Apr 2014 05:01:54 +0000 (22:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Apr 2014 19:06:30 +0000 (15:06 -0400)
commit44ad4663d5916ed03091a1e2d1af8ebb6d92cfac
tree7f1e5cdcb1e9de167725e730f14eb0c3579d6f59
parentcf831ffe4473d2e500912af20244336a1534685a
mwifiex: don't clear cmd_sent flag in timeout handler

When command timeout occurs due to a firmware/hardware bug,
there is no chance of next command being successful. We will
keep cmd_sent flag on so that next command won't be sent to
firmware.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cmdevt.c