mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] wifi: mwifiex: added delay after firmware downloaded.
@ 2023-10-20  3:35 David Lin
  2023-10-21 12:56 ` Francesco Dolcini
  0 siblings, 1 reply; 3+ messages in thread
From: David Lin @ 2023-10-20  3:35 UTC (permalink / raw)
  To: linux-wireless
  Cc: linux-kernel, briannorris, kvalo, francesco, Sharvari Harisangam,
	David Lin, Pete Hsieh

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

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


[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 12922 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-23  2:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20  3:35 [PATCH] wifi: mwifiex: added delay after firmware downloaded David Lin
2023-10-21 12:56 ` Francesco Dolcini
2023-10-23  2:12   ` [EXT] " David Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®