]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6431edddc5851efd7e7dcdbc33723840a15a6c2
tree7f1e5cdcb1e9de167725e730f14eb0c3579d6f59
parent2b88c62d6de0fdc416bc6f44e6cf691ebf16c0bc
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