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

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

 



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
--
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