mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'bugfix/roam_event_scan_failure' into 'master'
bugfix(wifi): Reset scan_ongoing flag in scan done event to allow scan trigger post roam Closes WIFIBUG-1203 See merge request espressif/esp-idf!39163
This commit is contained in:
@ -638,11 +638,13 @@ static void scan_done_event_handler(void *arg, ETS_STATUS status)
|
||||
esp_wifi_scan_get_ap_records(&g_roaming_app.scanned_aps.current_count, g_roaming_app.scanned_aps.ap_records);
|
||||
print_ap_records(&g_roaming_app.scanned_aps);
|
||||
parse_scan_results_and_roam();
|
||||
g_roaming_app.scan_ongoing = false;
|
||||
ROAM_SCAN_RESULTS_UNLOCK();
|
||||
} else {
|
||||
ESP_LOGD(ROAMING_TAG, "Scan Done with error %d ", status);
|
||||
} else {
|
||||
ESP_LOGD(ROAMING_TAG, "Scan Done with error %d ", status);
|
||||
}
|
||||
ROAM_SCAN_RESULTS_LOCK();
|
||||
g_roaming_app.scan_ongoing = false;
|
||||
ROAM_SCAN_RESULTS_UNLOCK();
|
||||
}
|
||||
static void conduct_scan(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user