Search Linux Wireless

[PATCH] wifi: mwifiex: added delay after firmware downloaded.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
---
 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: winmail.dat>>


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux