This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 plugins/bluetooth.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 0f36d1d5de1d76c422e872bee24db729f72316c6
Author: Marcel Holtmann <[email protected]>
Date:   Tue Feb 3 23:32:25 2009 +0100

    The disconnect method PAN doesn't require the interface name

commit 5b4123c700d629397cc9ab72937e76e324eec59f
Author: Marcel Holtmann <[email protected]>
Date:   Tue Feb 3 23:23:14 2009 +0100

    Set network protocol to IP for Bluetooth PAN to allow DHCP


Diff in this email is a maximum of 400 lines.
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 200c3ff..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) {
@@ -496,6 +495,8 @@ static void device_properties(DBusConnection *connection, 
const char *path,
        if (network == NULL)
                return;
 
+       connman_network_set_protocol(network, CONNMAN_NETWORK_PROTOCOL_IP);
+
        connman_network_set_string(network, "Node", path);
 
        connman_device_add_network(device, network);
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to