From: Jouni Malinen Date: Wed, 8 Nov 2023 11:38:38 +0000 (+0200) Subject: OWE: Remove now unnecessary attempt to update transition mode BSS X-Git-Tag: hostap_2_11~811 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93a68a1fc9bcc41d8a9f3dc4a651f54b02092bc7;p=thirdparty%2Fhostap.git 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 6972b0fa2bb8 ("OWE: Update transition mode information on selecting a new BSS"). Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index aecce25a1..081f3c434 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -61,10 +61,6 @@ static int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s, bool trigger_6ghz_scan, union wpa_event_data *data); #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) @@ -221,14 +217,6 @@ static int wpa_supplicant_select_config(struct wpa_supplicant *wpa_s, return 0; /* current profile still in use */ #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) && wpa_s->current_bss && (wpa_s->current_bss->flags & WPA_BSS_OWE_TRANSITION) &&