Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions source/core/services/vap_svc_mesh_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,11 +1178,6 @@ static int process_ext_webconfig_set_data_sta_bssid(vap_svc_t *svc, void *arg)
ext->ext_connected_scan_result_timeout_handler_id = 0;
}

if (ext->ext_connect_algo_processor_id != 0) {
scheduler_cancel_timer_task(ctrl->sched, ext->ext_connect_algo_processor_id);
ext->ext_connect_algo_processor_id = 0;
}

if (ext->conn_state == connection_state_connection_in_progress ||
ext->conn_state == connection_state_connection_to_lcb_in_progress ||
ext->conn_state == connection_state_connection_to_nb_in_progress) {
Expand All @@ -1201,6 +1196,11 @@ static int process_ext_webconfig_set_data_sta_bssid(vap_svc_t *svc, void *arg)
return 0;
}

if (ext->ext_connect_algo_processor_id != 0) {
scheduler_cancel_timer_task(ctrl->sched, ext->ext_connect_algo_processor_id);
ext->ext_connect_algo_processor_id = 0;
}

// If BSSID changed on the same band need to initiate disconnection before connection to avoid
// HAL error. On different band try to connect to new BSSID before disconnection.
// disconnect will be executed if new bssid is found in the scan results
Expand Down
Loading