mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/ctx_lock_wifi_prov' into 'master'
Fixed provisioning manager deinit Closes IDFGH-8171 See merge request espressif/esp-idf!19828
This commit is contained in:
commit
0a93ee1337
@ -1349,6 +1349,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;
|
||||
}
|
||||
|
||||
@ -1401,6 +1402,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,
|
||||
|
Loading…
Reference in New Issue
Block a user