The disconnect method PAN doesn't require the interface name
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 3 Feb 2009 22:32:25 +0000 (23:32 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 3 Feb 2009 22:32:25 +0000 (23:32 +0100)
plugins/bluetooth.c

index 5ffdab3..25dc0ca 100644 (file)
@@ -298,8 +298,7 @@ static int pan_disconnect(struct connman_network *network)
        if (message == NULL)
                return -ENOMEM;
 
-       dbus_message_append_args(message, DBUS_TYPE_STRING, &data->interface,
-                                                       DBUS_TYPE_INVALID);
+       dbus_message_append_args(message, DBUS_TYPE_INVALID);
 
        if (dbus_connection_send_with_reply(data->connection, message,
                                                &call, TIMEOUT) == FALSE) {