mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
device: make the output less verbose
Having hidden SSIDs or SSIDs with non-UTF8 characters around make iwd flood the logs with messages. Make iwd less verbose and show these messages with enabled debug output only.
This commit is contained in:
parent
2f410dadf2
commit
22e5ba2133
@ -266,13 +266,13 @@ static bool process_bss(struct device *device, struct scan_bss *bss,
|
||||
bss->frequency, bss->rank, bss->signal_strength);
|
||||
|
||||
if (util_ssid_is_hidden(bss->ssid_len, bss->ssid)) {
|
||||
l_warn("Ignoring BSS with hidden SSID");
|
||||
l_debug("Ignoring BSS with hidden SSID");
|
||||
device->seen_hidden_networks = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!util_ssid_is_utf8(bss->ssid_len, bss->ssid)) {
|
||||
l_warn("Ignoring BSS with non-UTF8 SSID");
|
||||
l_debug("Ignoring BSS with non-UTF8 SSID");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user