Parent: 8c0c82c9e966654002350ada8489ca577896566a
Author: Manish Mandlik <mmandlik@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-09-11 01:19:02
Tree: c0ec6078bab0219fb591b01ff1cbfd7691ddc6a4
adv_monitor: Clear any running DeviceLost timers on power down This patch clears any running Adv Monitor DeviceLost timers on bt power down. It'll also invoke DeviceLost event if the device is already found and is being tracked for the DeviceLost event. Verified this by adding a monitor using bluetoothctl and confirming that the DeviceLost event is getting triggered for already found device in case of bt power down. Reviewed-by: mcchou@google.com
Diffstat
| M | src/adapter.c | | | 2 | ++ |
| M | src/adv_monitor.c | | | 51 | ++++++++++++++++++++++++++++++++++++++++ |
| M | src/adv_monitor.h | | | 2 | ++ |
3 files changed, 55 insertions(+), 0 deletions(-)