mirror of git://git.sysmocom.de/ofono
Remove unneeded code to disable the modem on hfp
ofono_modem_remove() already disables the modem.
This commit is contained in:
parent
bcad38ceff
commit
0bb749a51f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue