All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Remove unneeded code to disable the modem on hfp
@ 2010-01-28 13:32 Gustavo F. Padovan
  2010-01-28 13:32 ` [PATCH 2/2] Handle the error path from service_level_connection Gustavo F. Padovan
  2010-01-28 16:49 ` [PATCH 1/2] Remove unneeded code to disable the modem on hfp Denis Kenzior
  0 siblings, 2 replies; 6+ messages in thread
From: Gustavo F. Padovan @ 2010-01-28 13:32 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

ofono_modem_remove() already disables the modem.
---
 plugins/hfp.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/plugins/hfp.c b/plugins/hfp.c
index 867b194..2d0faa8 100644
--- a/plugins/hfp.c
+++ b/plugins/hfp.c
@@ -397,9 +397,6 @@ static DBusMessage *hfp_agent_release(DBusConnection *conn, DBusMessage *msg, vo
 {
 	struct ofono_modem *modem = data;
 
-	if (ofono_modem_get_powered(modem))
-		hfp_disable(modem);
-
 	ofono_modem_remove(modem);
 
 	return dbus_message_new_method_return(msg);
-- 
1.6.4.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-01-28 17:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28 13:32 [PATCH 1/2] Remove unneeded code to disable the modem on hfp Gustavo F. Padovan
2010-01-28 13:32 ` [PATCH 2/2] Handle the error path from service_level_connection Gustavo F. Padovan
2010-01-28 16:50   ` Denis Kenzior
2010-01-28 17:12     ` [PATCH] " Gustavo F. Padovan
2010-01-28 17:18       ` Denis Kenzior
2010-01-28 16:49 ` [PATCH 1/2] Remove unneeded code to disable the modem on hfp Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.