Procházet zdrojové kódy

wifi_prov_mgr : Updated the set of WIFI_REASON_ codes used for setting WIFI_PROV_STA_AUTH_ERROR

Anurag Kar před 6 roky
rodič
revize
703e98eb98
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      components/wifi_provisioning/src/manager.c

+ 1 - 2
components/wifi_provisioning/src/manager.c

@@ -852,9 +852,8 @@ static void wifi_prov_mgr_event_handler_internal(
         switch (disconnected->reason) {
         case WIFI_REASON_AUTH_EXPIRE:
         case WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT:
-        case WIFI_REASON_BEACON_TIMEOUT:
         case WIFI_REASON_AUTH_FAIL:
-        case WIFI_REASON_ASSOC_FAIL:
+        case WIFI_REASON_ASSOC_EXPIRE:
         case WIFI_REASON_HANDSHAKE_TIMEOUT:
             ESP_LOGE(TAG, "STA Auth Error");
             prov_ctx->wifi_disconnect_reason = WIFI_PROV_STA_AUTH_ERROR;