smart_messaging: Remove interface on atom removal

This commit is contained in:
Aki Niemi 2010-09-30 11:22:05 +03:00 committed by Denis Kenzior
parent cbf53bc708
commit 99afae0393
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}