mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal
This commit is contained in:
parent
ad0399b2f8
commit
f06d1cdc75
@ -871,6 +871,7 @@ static void wifi_prov_mgr_event_handler_internal(
|
||||
case WIFI_REASON_AUTH_FAIL:
|
||||
case WIFI_REASON_ASSOC_EXPIRE:
|
||||
case WIFI_REASON_HANDSHAKE_TIMEOUT:
|
||||
case WIFI_REASON_MIC_FAILURE:
|
||||
ESP_LOGE(TAG, "STA Auth Error");
|
||||
prov_ctx->wifi_disconnect_reason = WIFI_PROV_STA_AUTH_ERROR;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user