[bluetooth] fix BlueZ GATT service enumeration
This fixes BlueZ GATT service enumeration when there is more than one device. In the BluetoothDeviceBlueZ::UpdateGattServices() method, it is possible that the services for the requested device are not the first services in |service_paths|. If this is the case returning from inside the loop makes it appear as if the device has no services. By continuing the loop instead, all services associated with this device are made available (by calling NotifyGattDiscoveryComplete() on them). Bug: 1087648 Change-Id: I52dad45674330a52f7420b28a51fdd83439b4f9c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214098 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#772992}
Showing
Please register or sign in to comment