forked from espressif/esp-idf
wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal
This commit is contained in:
@@ -869,6 +869,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;
|
||||
|
Reference in New Issue
Block a user