mwifiex: skip firmware dump when read_regs() fails
authorXinming Hu <huxm@marvell.com>
Wed, 3 Feb 2016 06:05:04 +0000 (22:05 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 7 Feb 2016 07:15:36 +0000 (09:15 +0200)
commit0172404d79ec37e2c7d9dc90f6876dc314dc0fe5
treebbbc2474450dd24d6804dc69e9731e08812493e0
parentaf05148392f50490c662dccee6c502d9fcba33e2
mwifiex: skip firmware dump when read_regs() fails

If we are not able to read registers or PCIe memory,
it means PCIe device is in bad state. We will skip
firmware dump in this case.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c