From 0f36d1d5de1d76c422e872bee24db729f72316c6 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 3 Feb 2009 23:32:25 +0100 Subject: [PATCH] The disconnect method PAN doesn't require the interface name --- plugins/bluetooth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 5ffdab3..25dc0ca 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -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) { -- 2.7.4