]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix system crash observed during initialisation
authorZhaoyang Liu <liuzy@marvell.com>
Wed, 22 Jul 2015 11:53:44 +0000 (04:53 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Aug 2015 07:13:56 +0000 (10:13 +0300)
commitc204bee7864f83e8c87aa601a03130d3a4eaa580
tree4d24419c78e2930e7fffee626d51c982e9170ce3
parent5958b8b8fb4b7caea5ef3089d5cd359e70efc644
mwifiex: fix system crash observed during initialisation

System crash was observed if one of the driver initialisation
commands is timed out. The reason is our timeout handler triggers
firmware dump, meanwhile driver initialisation error paths have
already freed the adapter structure.

Firmware hasn't yet completely initialized. So collecting firmware
dump is not needed in this case. Command timeout handler is
modified in this patch to fix the crash issue.

Signed-off-by: Zhaoyang Liu <liuzy@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/cmdevt.c