wpa_supplicant: Prevent pmk flush for unspecified reasoncode

This commit is contained in:
Kapil Gupta 2022-09-26 15:09:48 +05:30
parent da9a78ebfc
commit e2b8ebe804

View File

@ -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: