Merge branch 'bugfix/supplicant_osi_violation_v5.1' into 'release/v5.1'

Fix abstraction violation in wpa_supplicant (Backport v5.1)

See merge request espressif/esp-idf!25565
This commit is contained in:
Jiang Jiang Jian
2023-08-28 10:30:37 +08:00

View File

@@ -2596,7 +2596,7 @@ int wpa_michael_mic_failure(u16 isunicast)
* Need to wait for completion of request frame. We do not get
* any callback for the message completion, so just wait a
* short while and hope for the best. */
esp_rom_delay_us(10000);
os_sleep(0, 10000);
/*deauthenticate AP*/