From 99afae03935da5b24bd99fa1f884b43157c19fa3 Mon Sep 17 00:00:00 2001 From: Aki Niemi Date: Thu, 30 Sep 2010 11:22:05 +0300 Subject: smart_messaging: Remove interface on atom removal --- plugins/smart_messaging.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/smart_messaging.c') 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; } -- cgit v1.2.3