esp_wifi: fix WiFi deinit memory leak

This commit is contained in:
liu zhifu
2019-10-24 17:11:30 +08:00
parent 744625f234
commit 19e355e080
5 changed files with 44 additions and 2 deletions

View File

@@ -54,6 +54,16 @@ const mesh_crypto_funcs_t g_wifi_default_mesh_crypto_funcs;
*/
esp_err_t esp_supplicant_init(void);
/**
* @brief Supplicant deinitialization
*
* @return
* - ESP_OK : succeed
* - others: failed
*/
esp_err_t esp_supplicant_deinit(void);
/**
* @}
*/