diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-01-28 11:32:42 -0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-28 10:41:28 -0600 |
commit | 0bb749a51fefd38864cd424ee1ef8eeae60ce89d (patch) | |
tree | a6ead05cec9952338d63f099de1811ea98e028e8 /plugins | |
parent | bcad38ceffe6a5ed6351027c49bfec78dbe836ff (diff) | |
download | ofono-0bb749a51fefd38864cd424ee1ef8eeae60ce89d.tar.bz2 |
Remove unneeded code to disable the modem on hfp
ofono_modem_remove() already disables the modem.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hfp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/hfp.c b/plugins/hfp.c index ea7a85ef..5b2cdae9 100644 --- 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); |