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 <j@w1.fi>
This commit is contained in:
parent
1e3fbd4e13
commit
a3a34c0eb1
1 changed files with 2 additions and 4 deletions
|
@ -67,15 +67,13 @@ struct osu_provider {
|
||||||
void hs20_configure_frame_filters(struct wpa_supplicant *wpa_s)
|
void hs20_configure_frame_filters(struct wpa_supplicant *wpa_s)
|
||||||
{
|
{
|
||||||
struct wpa_bss *bss = wpa_s->current_bss;
|
struct wpa_bss *bss = wpa_s->current_bss;
|
||||||
u8 *bssid = wpa_s->bssid;
|
|
||||||
const u8 *ie;
|
const u8 *ie;
|
||||||
const u8 *ext_capa;
|
const u8 *ext_capa;
|
||||||
u32 filter = 0;
|
u32 filter = 0;
|
||||||
|
|
||||||
if (!bss || !is_hs20_network(wpa_s, wpa_s->current_ssid, bss)) {
|
if (!bss || !is_hs20_network(wpa_s, wpa_s->current_ssid, bss)) {
|
||||||
wpa_printf(MSG_DEBUG,
|
/* Not configuring frame filtering - BSS is not a Hotspot 2.0
|
||||||
"Not configuring frame filtering - BSS " MACSTR
|
* network */
|
||||||
" is not a Hotspot 2.0 network", MAC2STR(bssid));
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue