Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f14a1904 authored by KimJeongYeon's avatar KimJeongYeon
Browse files

BLE: Fix not freed onfound/onlost filter when stop scan



ScanManager doesn't freed allocated onfound/onlost filters when stop LE scan.
Therefore, scan always fails to start in next time when overflows of
onfound/onlost filters over total number of trackable advertisements.
This issue happens when apps try to scan with special callback types.
(e.g CALLBACK_TYPE_FIRST_MATCH, CALLBACK_TYPE_MATCH_LOST)
This patch retrieves 'client.settings' & 'client.filters' information
from set 'mRegularScanClients' to free onfound/onlost filters.

Bug: 143097315
Test: Scan with callback type 'CALLBACK_TYPE_MATCH_LOST' using BLE test app.

Change-Id: I6f1a134ee46931b8f4f6c763359ae1d84ae030eb
Signed-off-by: default avatarKimJeongYeon <jeongyeon.kim@samsung.com>
parent 7882a15e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment