esp_wifi: fix logs information messages at warning level issue

1. fix logs information messages at warning level issue
2. fix set inactive time crash issue
This commit is contained in:
muhaidong
2023-03-31 11:39:50 +08:00
parent c3e0e36703
commit a33b9f9101
2 changed files with 2 additions and 1 deletions

View File

@@ -1151,6 +1151,7 @@ esp_err_t esp_wifi_set_inactive_time(wifi_interface_t ifx, uint16_t sec);
* @return
* - ESP_OK: succeed
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
* - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
* - ESP_ERR_WIFI_ARG: invalid argument
*/
esp_err_t esp_wifi_get_inactive_time(wifi_interface_t ifx, uint16_t *sec);