diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2010-09-30 11:22:05 +0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-30 19:07:51 -0500 |
commit | 99afae03935da5b24bd99fa1f884b43157c19fa3 (patch) | |
tree | 30419ce6e9a666e25be6d35d14eb94bc10c096ea | |
parent | cbf53bc70857376124099cf8cd7f0a5dd1afdf31 (diff) | |
download | ofono-99afae03935da5b24bd99fa1f884b43157c19fa3.tar.bz2 |
smart_messaging: Remove interface on atom removal
-rw-r--r-- | plugins/smart_messaging.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/smart_messaging.c b/plugins/smart_messaging.c index fb44cc1f..27f88e78 100644 --- a/plugins/smart_messaging.c +++ b/plugins/smart_messaging.c @@ -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; } |