esp_wifi_restore() function
Restore WiFi stack persistent settings to default values This function will reset settings made using the following APIs: - esp_wifi_set_bandwidth, - esp_wifi_set_protocol, - esp_wifi_set_config related - esp_wifi_set_mode
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init