fix the issue of failure of receiving beacons in modem state caused by enabling light sleep in wifi min/max modem sleep mode

This commit is contained in:
Li Shuai
2023-03-22 21:35:04 +08:00
committed by BOT
parent a15c36f987
commit 94ebda298a
4 changed files with 45 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ static uint32_t s_mode_mask;
#if CONFIG_FREERTOS_USE_TICKLESS_IDLE
#define PERIPH_SKIP_LIGHT_SLEEP_NO 1
#define PERIPH_SKIP_LIGHT_SLEEP_NO 2
/* Indicates if light sleep shoule be skipped by peripherals. */
static skip_light_sleep_cb_t s_periph_skip_light_sleep_cb[PERIPH_SKIP_LIGHT_SLEEP_NO];