]> granicus.if.org Git - esp-idf/commitdiff
wifi_prov_mgr : Updated the set of WIFI_REASON_ codes used for setting WIFI_PROV_STA_...
authorAnurag Kar <anurag.kar@espressif.com>
Wed, 3 Jul 2019 15:21:11 +0000 (20:51 +0530)
committerbot <bot@espressif.com>
Fri, 5 Jul 2019 08:41:27 +0000 (08:41 +0000)
components/wifi_provisioning/src/manager.c

index c2404dbc195bb57aa94669879094fdabc01c8ed7..3d7a8355cbf34741eb7e6b5011310c688a6ee7aa 100644 (file)
@@ -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;