From ccb8b9d42c28917c246e5b773028f9fde5db3199 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Fri, 7 Oct 2022 18:25:47 +0530 Subject: [PATCH] wifi_provisioning/manager.c: Fix small bug introduced in recent MR. --- components/wifi_provisioning/src/manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/wifi_provisioning/src/manager.c b/components/wifi_provisioning/src/manager.c index 7aa7353f4a..32fb01d98b 100644 --- a/components/wifi_provisioning/src/manager.c +++ b/components/wifi_provisioning/src/manager.c @@ -1485,7 +1485,7 @@ esp_err_t wifi_prov_mgr_start_provisioning(wifi_prov_security_t security, const /* Initialize app data */ if (security == WIFI_PROV_SECURITY_0) { prov_ctx->mgr_info.capabilities.no_sec = true; - } else + } #endif #ifdef CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1 if (security == WIFI_PROV_SECURITY_1) { @@ -1504,7 +1504,7 @@ esp_err_t wifi_prov_mgr_start_provisioning(wifi_prov_security_t security, const } else { prov_ctx->mgr_info.capabilities.no_pop = true; } - } else + } #endif #ifdef CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2 if (security == WIFI_PROV_SECURITY_2) {