diff --git a/wilc/wilc_wlan.c b/wilc/wilc_wlan.c index 60cc6ef..e040737 100644 --- a/wilc/wilc_wlan.c +++ b/wilc/wilc_wlan.c @@ -885,7 +885,7 @@ void chip_wakeup_wilc3000(struct wilc *wilc, int source) * If still off, redo the wake up sequence */ while (((clk_status_reg_val & clk_status_bit) == 0) && - (((++trials) % 3) == 0)) { + (((++trials) % 4) != 0)) { /* Wait for the chip to stabilize*/ usleep_range(1000, 1100);