OWE: Remove now unnecessary attempt to update transition mode BSS

With the SSID updating of a BSS entry removed from owe_trans_ssid(),
this call to owe_trans_ssid() is not really doing anything, so remove
it. This reverts 6972b0fa2b ("OWE: Update transition mode information
on selecting a new BSS").

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2023-11-08 13:38:38 +02:00 committed by Jouni Malinen
parent 00b3125871
commit 93a68a1fc9

View file

@ -61,10 +61,6 @@ static int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s,
bool trigger_6ghz_scan, bool trigger_6ghz_scan,
union wpa_event_data *data); union wpa_event_data *data);
#endif /* CONFIG_NO_SCAN_PROCESSING */ #endif /* CONFIG_NO_SCAN_PROCESSING */
#ifdef CONFIG_OWE
static void owe_trans_ssid(struct wpa_supplicant *wpa_s, struct wpa_bss *bss,
const u8 **ret_ssid, size_t *ret_ssid_len);
#endif /* CONFIG_OWE */
int wpas_temp_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) int wpas_temp_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
@ -221,14 +217,6 @@ static int wpa_supplicant_select_config(struct wpa_supplicant *wpa_s,
return 0; /* current profile still in use */ return 0; /* current profile still in use */
#ifdef CONFIG_OWE #ifdef CONFIG_OWE
if (wpa_s->current_bss &&
!(wpa_s->current_bss->flags & WPA_BSS_OWE_TRANSITION)) {
const u8 *match_ssid;
size_t match_ssid_len;
owe_trans_ssid(wpa_s, wpa_s->current_bss,
&match_ssid, &match_ssid_len);
}
if ((wpa_s->current_ssid->key_mgmt & WPA_KEY_MGMT_OWE) && if ((wpa_s->current_ssid->key_mgmt & WPA_KEY_MGMT_OWE) &&
wpa_s->current_bss && wpa_s->current_bss &&
(wpa_s->current_bss->flags & WPA_BSS_OWE_TRANSITION) && (wpa_s->current_bss->flags & WPA_BSS_OWE_TRANSITION) &&