From: Jouni Malinen Date: Fri, 22 Dec 2023 14:54:15 +0000 (+0200) Subject: HS 2.0: Remove useless debug print in non-Hotspot 2.0 cases X-Git-Tag: hostap_2_11~576 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3a34c0eb1ecf1c26bddbf36a6e421504f2d917e;p=thirdparty%2Fhostap.git HS 2.0: Remove useless debug print in non-Hotspot 2.0 cases 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 --- diff --git a/wpa_supplicant/hs20_supplicant.c b/wpa_supplicant/hs20_supplicant.c index c1c823f2a..272f2be53 100644 --- a/wpa_supplicant/hs20_supplicant.c +++ b/wpa_supplicant/hs20_supplicant.c @@ -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; }