mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'fix/roam_scan_ongoing_flag_set' into 'master'
Set and unset roam scan ongoing flag properly Closes WIFIBUG-1508, WIFIBUG-1621, and WIFIBUG-1747 See merge request espressif/esp-idf!44384
This commit is contained in:
@@ -262,7 +262,7 @@ static int issue_scan(struct wpa_supplicant *wpa_s,
|
||||
typedef void (* scan_done_cb_t)(void *arg, ETS_STATUS status);
|
||||
extern int esp_wifi_promiscuous_scan_start(wifi_scan_config_t *config, scan_done_cb_t cb);
|
||||
/* issue scan */
|
||||
if (esp_wifi_promiscuous_scan_start(params, scan_done_event_handler) < 0) {
|
||||
if (esp_wifi_promiscuous_scan_start(params, scan_done_event_handler) != ESP_OK) {
|
||||
ret = -1;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user