Browse Source

dbus: show messages in debug log

Jouni Malinen 15 years ago
parent
commit
833fe95eb1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      wpa_supplicant/dbus/dbus_new_helpers.c

+ 2 - 0
wpa_supplicant/dbus/dbus_new_helpers.c

@@ -1030,6 +1030,8 @@ static DBusHandlerResult message_handler(DBusConnection *connection,
 	msg_interface = dbus_message_get_interface(message);
 	msg_interface = dbus_message_get_interface(message);
 	if (!method || !path || !msg_interface)
 	if (!method || !path || !msg_interface)
 		goto out;
 		goto out;
+	wpa_printf(MSG_MSGDUMP, "dbus: %s.%s (%s)",
+		   msg_interface, method, path);
 
 
 	/* if message is introspection method call */
 	/* if message is introspection method call */
 	if (!os_strncmp(WPA_DBUS_INTROSPECTION_METHOD, method,
 	if (!os_strncmp(WPA_DBUS_INTROSPECTION_METHOD, method,