From 5b4123c700d629397cc9ab72937e76e324eec59f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 3 Feb 2009 23:23:14 +0100 Subject: [PATCH] Set network protocol to IP for Bluetooth PAN to allow DHCP --- plugins/bluetooth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 200c3ff..5ffdab3 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -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); -- 2.7.4