kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/backport_wifi_bugs_to_5.0_0819' into 'release/v5.0'
esp wifi:bugfix for backport wifi bugs to 5.0(backport 5.0) See merge request espressif/esp-idf!19662pull/9723/head
commit
361634c96b
|
@ -453,6 +453,21 @@ esp_err_t esp_wifi_scan_get_ap_num(uint16_t *number);
|
|||
esp_err_t esp_wifi_scan_get_ap_records(uint16_t *number, wifi_ap_record_t *ap_records);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Clear AP list found in last scan
|
||||
*
|
||||
* @attention When the obtained ap list fails,bss info must be cleared,otherwise it may cause memory leakage.
|
||||
*
|
||||
* @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_MODE: WiFi mode is wrong
|
||||
* - ESP_ERR_INVALID_ARG: invalid argument
|
||||
*/
|
||||
esp_err_t esp_wifi_clear_ap_list(void);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Get information of AP which the ESP32 station is associated with
|
||||
*
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit fd23b3bc66102918dd0ce6492997f7cfdd6e86c0
|
||||
Subproject commit 845af059ecbb64cb175df20cd6e61d956fdf2a66
|
|
@ -366,5 +366,6 @@ void eloop_destroy(void)
|
|||
eloop_data_lock = NULL;
|
||||
}
|
||||
os_timer_disarm(&eloop.eloop_timer);
|
||||
os_timer_done(&eloop.eloop_timer);
|
||||
os_memset(&eloop, 0, sizeof(eloop));
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue