From 304d6164aeccf49b0b8aaf84fe258d297d3a0831 Mon Sep 17 00:00:00 2001 From: Nachiket Kukade Date: Tue, 22 Aug 2023 21:02:57 +0530 Subject: [PATCH] fix(supplicant): Fix abstraction violation in wpa_supplicant --- components/wpa_supplicant/src/rsn_supp/wpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/wpa_supplicant/src/rsn_supp/wpa.c b/components/wpa_supplicant/src/rsn_supp/wpa.c index 3dec5ff3af..9f7c715d6d 100644 --- a/components/wpa_supplicant/src/rsn_supp/wpa.c +++ b/components/wpa_supplicant/src/rsn_supp/wpa.c @@ -2720,7 +2720,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*/