[PATCH Bluez] Fix missing on device found event for the known devices on a new le scan session

DORMANTno replies

From: Prabhu Chawandi <hidden>
Date: 2016-07-15 06:35:25

Hi,

Device found events not sent for the known devices on a new LE scan
session. Below patch is to clear the cached entries when new le scan
session is started.
--- a/android/bluetooth.c 2016-07-15 11:12:53.486029274 +0530
+++ b/android/bluetooth.c 2016-07-15 11:30:42.224366877 +0530
@@ -4029,6 +4029,9 @@
  return true;
  }

+    g_slist_foreach(bonded_devices, clear_device_found, NULL);
+    g_slist_foreach(cached_devices, clear_device_found, NULL);
+
  if (start_discovery(SCAN_TYPE_LE))
  return true;
Thanks & Regards,
Prabhu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help