Skip to content

Commit 744c4dc

Browse files
adhamAdham Abozaeid
adham
authored and
Adham Abozaeid
committed
wilc: Increase timeouts to avoid errors while repeatedly switching between STA dna AP interfaces
Signed-off-by: Adham Abozaeid <[email protected]>
1 parent afae28e commit 744c4dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wilc/linux_wlan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ static int linux_wlan_start_firmware(struct net_device *dev)
718718
PRINT_INFO(vif->ndev, INIT_DBG, "Waiting for FW to get ready ...\n");
719719

720720
if (!wait_for_completion_timeout(&wilc->sync_event,
721-
msecs_to_jiffies(1000))) {
721+
msecs_to_jiffies(1500))) {
722722
PRINT_INFO(vif->ndev, INIT_DBG, "Firmware start timed out\n");
723723
return -ETIME;
724724
}

wilc/wilc_wlan.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
#define ENABLE_RX_VMM (SEL_VMM_TBL1 | EN_VMM)
208208
#define ENABLE_TX_VMM (SEL_VMM_TBL0 | EN_VMM)
209209
/*time for expiring the completion of cfg packets*/
210-
#define CFG_PKTS_TIMEOUT 2000
210+
#define CFG_PKTS_TIMEOUT 3000
211211

212212
#define IS_MANAGMEMENT 0x100
213213
#define IS_MANAGMEMENT_CALLBACK 0x080

0 commit comments

Comments
 (0)