commit 22e5ba213313d9e4e4ee71e83b86d8a0e2866444
parent 2f410dadf211e787c18058dcc374009539586ac4
Author: Christian Hesse <mail@eworm.de>
Date: Fri, 13 Jul 2018 12:56:51 +0200
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.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/device.c b/src/device.c
@@ -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;
}