Remove fix the error info is sent when removing paired devices
authorwu zheng <wu.zheng@intel.com>
Thu, 5 Feb 2015 06:37:29 +0000 (14:37 +0800)
committerwu zheng <wu.zheng@intel.com>
Thu, 5 Feb 2015 06:37:29 +0000 (14:37 +0800)
Not sure that it is the root cause.

Change-Id: I4c7103edcd7aab2983fea8710e792dc5a42b954e
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
bt-service/bt-service-event-receiver.c

index 42aca3d..f0ae7a7 100644 (file)
@@ -1606,10 +1606,7 @@ static DBusHandlerResult __bt_manager_event_filter(DBusConnection *conn,
                                DBUS_TYPE_ARRAY, DBUS_TYPE_STRING,
                                &dev_info->uuids, dev_info->uuid_count,
                                DBUS_TYPE_INVALID);
-                       if (!dev_info->paired)
-                               g_list = g_list_append(g_list, dev_info);
-                       else
-                               _bt_free_device_info(dev_info);
+                       g_list = g_list_append(g_list, dev_info);
                } else if (bt_event == BT_MEDIA_TRANSFER_EVENT) {
                        __bt_parse_audio_properties(msg);
                }