Fix build failure caused by missing SCS renegotiation logic under
CONFIG_NO_ROBUST_AV. Commit
1adffc200 (SCS: Renegotiate configured SCS
policies with new AP after roaming) introduced logic for SCS
renegotiation for roaming but did not include corresponding changes
for CONFIG_NO_ROBUST_AV.
Add the necessary handling to ensure consistent behavior and successful
builds when this flag is enabled.
Fixes: 1adffc200 ("SCS: Renegotiate configured SCS policies with new AP after roaming")
Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
wpa_s->wps_scan_done = false;
wpas_reset_mlo_info(wpa_s);
+#ifndef CONFIG_NO_ROBUST_AV
wpas_scs_deinit(wpa_s);
+#endif /* CONFIG_NO_ROBUST_AV */
#ifdef CONFIG_SME
wpa_s->sme.bss_max_idle_period = 0;
"Ignore unexpected EVENT_ASSOC in disconnected state");
break;
}
+#ifndef CONFIG_NO_ROBUST_AV
if (dl_list_len(&wpa_s->active_scs_ids) > 0) {
wpa_printf(MSG_DEBUG,
"SCS rules renegotiation required after roaming");
wpa_s->scs_reconfigure = true;
}
+#endif /* CONFIG_NO_ROBUST_AV */
wpa_supplicant_event_assoc(wpa_s, data);
wpa_s->assoc_status_code = WLAN_STATUS_SUCCESS;
if (data &&