mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
[Nearby Connections] Fix a bug that could cause BLE scan keeps fetching the un-interseted advertisement.
PiperOrigin-RevId: 790972086
This commit is contained in:
committed by
Copybara-Service
parent
c55262ad13
commit
05e997dc52
@@ -903,6 +903,7 @@ void DiscoveredPeripheralTracker::FetchRawAdvertisementsInThread(
|
||||
LOG(WARNING)
|
||||
<< ": Ignore the fetched GATT advertisement from server due to it "
|
||||
"is not interesting header now.";
|
||||
fetching_advertisements_.erase(advertisement_header);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user