]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
D-Bus: Demote timeout/flush messages to MSG_MSGDUMP
authorBrian Norris <briannorris@chromium.org>
Wed, 31 Jul 2019 01:09:33 +0000 (18:09 -0700)
committerJouni Malinen <j@w1.fi>
Wed, 31 Jul 2019 19:06:33 +0000 (22:06 +0300)
We intentionally don't emit property-changed signals on every property
update -- for "less timing critical" messages we delay up to 5
milliseconds waiting to see if we can batch them together. When the
timer hits, we emit the signal anyway and (potentially) log this
message. This amounts to effectively tracing every property update,
which can be quite excessive.

Lower this to MSGDUMP, so MSG_DEBUG can remain slightly more sane.

Signed-off-by: Brian Norris <briannorris@chromium.org>
wpa_supplicant/dbus/dbus_new_helpers.c

index d80e2d402071933e8f50e7803b5ea857eac4787d..d9009ba85e9cb83690f19d3fe615f6b4ae0013f7 100644 (file)
@@ -742,7 +742,7 @@ static void flush_object_timeout_handler(void *eloop_ctx, void *timeout_ctx)
        DBusConnection *con = eloop_ctx;
        struct wpa_dbus_object_desc *obj_desc = timeout_ctx;
 
-       wpa_printf(MSG_DEBUG,
+       wpa_printf(MSG_MSGDUMP,
                   "dbus: %s: Timeout - sending changed properties of object %s",
                   __func__, obj_desc->path);
        wpa_dbus_flush_object_changed_properties(con, obj_desc->path);