All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH Bluez] Fix missing on device found event for the known devices on a new le scan session
@ 2016-07-15  6:35 Prabhu Chawandi
  0 siblings, 0 replies; only message in thread
From: Prabhu Chawandi @ 2016-07-15  6:35 UTC (permalink / raw)
  To: linux-bluetooth

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-15  6:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15  6:35 [PATCH Bluez] Fix missing on device found event for the known devices on a new le scan session Prabhu Chawandi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.