lkml.org 
[lkml]   [2023]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] wifi: mwifiex: added delay after firmware downloaded.
Date
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]
\
 
 \ /
  Last update: 2023-10-20 05:36    [W:0.461 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site