[PATCH 4/4] Remove the setting of method from connect_reply()

martin.xu at intel.com martin.xu at intel.com
Sun Apr 11 23:35:06 PDT 2010


From: Martin Xu <martin.xu at 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




More information about the connman mailing list