From: Martin Xu <martin...@intel.com>

The method has been set at connman_network_set_index(), where the default
DHCP method will be used if it is not be set to other method before.
---
 plugins/bluetooth.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index ee91b7f..1c0fa96 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -109,8 +109,6 @@ static void connect_reply(DBusPendingCall *call, void 
*user_data)
 
        connman_network_set_index(network, index);
 
-       connman_network_set_method(network, CONNMAN_IPCONFIG_METHOD_DHCP);
-
        connman_network_set_connected(network, TRUE);
 
 done:
-- 
1.6.1.3

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to