]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
D-Bus: Clean up debug print for P2P invitation result
authorJouni Malinen <j@w1.fi>
Sun, 20 Oct 2013 15:09:46 +0000 (18:09 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 20 Oct 2013 18:38:02 +0000 (21:38 +0300)
wpa_printf() does not need '\n' so remove the extra newline. In
addition, drop the priority of this message from MSG_INFO to MSG_DEBUG
since this is in no way exceptional operation.

Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/dbus/dbus_new.c

index ddd2c825b4eb449ae1a66c38dd00af42abe7086e..f9521f6d7db104003be3b7d2e650625359b76c62 100644 (file)
@@ -1362,7 +1362,7 @@ void wpas_dbus_signal_p2p_invitation_result(struct wpa_supplicant *wpa_s,
        DBusMessageIter iter, dict_iter;
        struct wpas_dbus_priv *iface;
 
-       wpa_printf(MSG_INFO, "%s\n", __func__);
+       wpa_printf(MSG_DEBUG, "%s", __func__);
 
        iface = wpa_s->global->dbus;
        /* Do nothing if the control interface is not turned on */