mwifiex: add firmware dump feature for PCIe
Firmware dump feature is added for PCIe based chipsets. Separate file will be created at /var/log/fw_dump_* for each memory segment. 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>
This commit is contained in:

committed by
John W. Linville

parent
1c09bf682c
commit
e050c76fcf
@@ -960,6 +960,9 @@ mwifiex_cmd_timeout_func(unsigned long function_context)
|
||||
if (adapter->hw_status == MWIFIEX_HW_STATUS_INITIALIZING)
|
||||
mwifiex_init_fw_complete(adapter);
|
||||
|
||||
if (adapter->if_ops.fw_dump)
|
||||
adapter->if_ops.fw_dump(adapter);
|
||||
|
||||
if (adapter->if_ops.card_reset)
|
||||
adapter->if_ops.card_reset(adapter);
|
||||
}
|
||||
|
Reference in New Issue
Block a user