Add the sender name in signal subscribe function
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-adaptation / services / ipsp / bt-service-ipsp-event-receiver.c
index 51629b9..5a54598 100644 (file)
@@ -220,28 +220,28 @@ int _bt_register_ipsp_subscribe_signal(GDBusConnection *conn,
        if (subscribe) {
                if (subs_interface_added_id == -1) {
                        subs_interface_added_id = g_dbus_connection_signal_subscribe(conn,
-                               NULL, BT_MANAGER_INTERFACE,
+                               BT_BLUEZ_NAME, BT_MANAGER_INTERFACE,
                                BT_INTERFACES_ADDED, NULL, NULL, 0,
                                __bt_manager_event_filter,
                                NULL, NULL);
                }
                if (subs_interface_removed_id == -1) {
                        subs_interface_removed_id = g_dbus_connection_signal_subscribe(conn,
-                               NULL, BT_MANAGER_INTERFACE,
+                               BT_BLUEZ_NAME, BT_MANAGER_INTERFACE,
                                BT_INTERFACES_REMOVED, NULL, NULL, 0,
                                __bt_manager_event_filter,
                                NULL, NULL);
                }
                if (subs_property_id == -1) {
                        subs_property_id = g_dbus_connection_signal_subscribe(conn,
-                               NULL, BT_PROPERTIES_INTERFACE,
+                               BT_BLUEZ_NAME, BT_PROPERTIES_INTERFACE,
                                BT_PROPERTIES_CHANGED, NULL, NULL, 0,
                                __bt_manager_event_filter,
                                NULL, NULL);
                }
                if (subs_ipsp_state_id == -1) {
                        subs_ipsp_state_id = g_dbus_connection_signal_subscribe(conn,
-                               NULL, BT_DEVICE_INTERFACE,
+                               BT_BLUEZ_NAME, BT_DEVICE_INTERFACE,
                                BT_IPSP_STATE_CHANGE, NULL, NULL, 0,
                                __bt_manager_event_filter,
                                NULL, NULL);