Skip to content

Commit

Permalink
Merge branch 'bugfix/ctx_lock_wifi_prov' into 'master'
Browse files Browse the repository at this point in the history
Fixed provisioning manager deinit

Closes IDFGH-8171

See merge request espressif/esp-idf!19828
  • Loading branch information
mahavirj committed Aug 30, 2022
2 parents a8c8946 + b8fc63d commit 0a93ee1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/wifi_provisioning/src/manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0a93ee1

Please sign in to comment.