Set network protocol to IP for Bluetooth PAN to allow DHCP
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 3 Feb 2009 22:23:14 +0000 (23:23 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 3 Feb 2009 22:23:14 +0000 (23:23 +0100)
plugins/bluetooth.c

index 200c3ff..5ffdab3 100644 (file)
@@ -496,6 +496,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);