[PATCH BlueZ] SAP: Fix not unregistering dummy interface on exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

Dummy interface is registered on plugin init and is never unregistered
---
 sap/sap-dummy.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sap/sap-dummy.c b/sap/sap-dummy.c
index acdec77..3060dde 100644
--- a/sap/sap-dummy.c
+++ b/sap/sap-dummy.c
@@ -340,6 +340,8 @@ int sap_init(void)
 
 void sap_exit(void)
 {
+	g_dbus_unregister_interface(connection, SAP_DUMMY_PATH, SAP_DUMMY_IFACE);
+
 	dbus_connection_unref(connection);
 	connection = NULL;
 }
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux