mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
wifi_provisioning: Fixed prov_ctx_lock of deinit provisioning manager
This commit is contained in:
@@ -1344,6 +1344,7 @@ void wifi_prov_mgr_deinit(void)
|
||||
ESP_LOGD(TAG, "Manager already de-initialized");
|
||||
RELEASE_LOCK(prov_ctx_lock);
|
||||
vSemaphoreDelete(prov_ctx_lock);
|
||||
prov_ctx_lock = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1396,6 +1397,7 @@ void wifi_prov_mgr_deinit(void)
|
||||
}
|
||||
|
||||
vSemaphoreDelete(prov_ctx_lock);
|
||||
prov_ctx_lock = NULL;
|
||||
}
|
||||
|
||||
esp_err_t wifi_prov_mgr_start_provisioning(wifi_prov_security_t security, const void *wifi_prov_sec_params,
|
||||
|
Reference in New Issue
Block a user