projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcad38c
)
Remove unneeded code to disable the modem on hfp
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Thu, 28 Jan 2010 13:32:42 +0000
(11:32 -0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 28 Jan 2010 16:41:28 +0000
(10:41 -0600)
ofono_modem_remove() already disables the modem.
plugins/hfp.c
patch
|
blob
|
history
diff --git
a/plugins/hfp.c
b/plugins/hfp.c
index
ea7a85e
..
5b2cdae
100644
(file)
--- a/
plugins/hfp.c
+++ b/
plugins/hfp.c
@@
-388,9
+388,6
@@
static DBusMessage *hfp_agent_release(DBusConnection *conn,
{
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);