From e2b8ebe804ce894e067052c64131bfecdda67d4c Mon Sep 17 00:00:00 2001 From: Kapil Gupta Date: Mon, 26 Sep 2022 15:09:48 +0530 Subject: [PATCH] wpa_supplicant: Prevent pmk flush for unspecified reasoncode --- components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c b/components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c index 8c3e4e9efd..478aca2cad 100644 --- a/components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c +++ b/components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c @@ -228,7 +228,6 @@ int wpa_parse_wpa_ie_wrapper(const u8 *wpa_ie, size_t wpa_ie_len, wifi_wpa_ie_t static void wpa_sta_disconnected_cb(uint8_t reason_code) { switch (reason_code) { - case WIFI_REASON_UNSPECIFIED: case WIFI_REASON_AUTH_EXPIRE: case WIFI_REASON_NOT_AUTHED: case WIFI_REASON_NOT_ASSOCED: