[PATCH 1/3] hfp: remove duplicated ofono_modem_set_powered

Gustavo F. Padovan padovan at profusion.mobi
Mon Feb 15 11:26:34 PST 2010


---
 plugins/hfp.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/plugins/hfp.c b/plugins/hfp.c
index 2d03973..411cfc1 100644
--- a/plugins/hfp.c
+++ b/plugins/hfp.c
@@ -110,8 +110,6 @@ static void service_level_conn_failed(struct ofono_modem *modem)
 	struct hfp_data *data = ofono_modem_get_data(modem);
 	DBusMessage *msg;
 
-	ofono_modem_set_powered(modem, FALSE);
-
 	msg = g_dbus_create_error(data->slc_msg, HFP_AGENT_ERROR_INTERFACE
 					".Failed",
 					"HFP Handshake failed");
-- 
1.6.4.4



More information about the ofono mailing list