]> 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)
commitcde27e3958da74d1096c671efc249f8f89f11bf7
tree7f1e5cdcb1e9de167725e730f14eb0c3579d6f59
parent19c6a4e3ed78790ffc8292af82b4a2916af152ff
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