]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
OWE: Remove now unnecessary attempt to update transition mode BSS
authorJouni Malinen <quic_jouni@quicinc.com>
Wed, 8 Nov 2023 11:38:38 +0000 (13:38 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 8 Nov 2023 12:21:41 +0000 (14:21 +0200)
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 <quic_jouni@quicinc.com>
wpa_supplicant/events.c

index aecce25a1ee6530ee8fa363f50b3ee8bccc49c61..081f3c434986f26b09393881ee684db626e0cd06 100644 (file)
@@ -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) &&