mirror of git://git.sysmocom.de/ofono
smart_messaging: Remove interface on atom removal
This commit is contained in:
parent
cbf53bc708
commit
99afae0393
|
@ -99,6 +99,9 @@ static void sms_watch(struct ofono_atom *atom,
|
|||
g_dbus_unregister_interface(conn,
|
||||
ofono_modem_get_path(sm->modem),
|
||||
SMART_MESSAGING_INTERFACE);
|
||||
|
||||
ofono_modem_remove_interface(sm->modem,
|
||||
SMART_MESSAGING_INTERFACE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue