]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HS 2.0: Remove useless debug print in non-Hotspot 2.0 cases
authorJouni Malinen <j@w1.fi>
Fri, 22 Dec 2023 14:54:15 +0000 (16:54 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 22 Dec 2023 14:54:15 +0000 (16:54 +0200)
It is not really helpful to get debug prints about Hotspot 2.0 frame
filtering when trying to connect a non-Hotspot 2.0 network. Remove this
debug print that was being printed for every connection that did not use
Hotspot 2.0.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/hs20_supplicant.c

index c1c823f2a85eb943c7a4eaead9b689539b6e5fba..272f2be5382176ad9c3ed670c736d474cacc4d4a 100644 (file)
@@ -67,15 +67,13 @@ struct osu_provider {
 void hs20_configure_frame_filters(struct wpa_supplicant *wpa_s)
 {
        struct wpa_bss *bss = wpa_s->current_bss;
-       u8 *bssid = wpa_s->bssid;
        const u8 *ie;
        const u8 *ext_capa;
        u32 filter = 0;
 
        if (!bss || !is_hs20_network(wpa_s, wpa_s->current_ssid, bss)) {
-               wpa_printf(MSG_DEBUG,
-                          "Not configuring frame filtering - BSS " MACSTR
-                          " is not a Hotspot 2.0 network", MAC2STR(bssid));
+               /* Not configuring frame filtering - BSS is not a Hotspot 2.0
+                * network */
                return;
        }