Messages in this thread Patch in this message | | | From | David Lin <> | Subject | [PATCH] wifi: mwifiex: added delay after firmware downloaded. | Date | Fri, 20 Oct 2023 03:35:34 +0000 |
| |
Added 100 ms delayed after firmware is downloaded and active in order to avoid command timeout for the first command sent to firmware.
Signed-off-by: David Lin <yu-hao.lin@nxp.com> --- drivers/net/wireless/marvell/mwifiex/main.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/marvell/mwifiex/main.c b/drivers/net/wireless/marvell/mwifiex/main.c index d99127dc466e..a25e8bb8daec 100644 --- a/drivers/net/wireless/marvell/mwifiex/main.c +++ b/drivers/net/wireless/marvell/mwifiex/main.c @@ -570,6 +570,7 @@ static int _mwifiex_fw_dpc(const struct firmware *firmware, void *context) goto err_dnld_fw; mwifiex_dbg(adapter, MSG, "WLAN FW is active\n"); + mdelay(100); if (cal_data_cfg) { if ((request_firmware(&adapter->cal_data, cal_data_cfg, -- 2.25.1 [unhandled content-type:application/ms-tnef] | |