| Index: device/bluetooth/bluetooth_task_manager_win.cc
|
| diff --git a/device/bluetooth/bluetooth_task_manager_win.cc b/device/bluetooth/bluetooth_task_manager_win.cc
|
| index 0419637e1ebff1b1d723f6c2d89015f18e50b59c..1f9364d47912cd3319d823db7ccee437a26c2905 100644
|
| --- a/device/bluetooth/bluetooth_task_manager_win.cc
|
| +++ b/device/bluetooth/bluetooth_task_manager_win.cc
|
| @@ -534,8 +534,11 @@ bool BluetoothTaskManagerWin::DiscoverServices(
|
| } else {
|
| if (!DiscoverLowEnergyDeviceServices(device->path,
|
| service_record_states)) {
|
| - return SearchForGattServiceDevicePaths(device->address,
|
| - service_record_states);
|
| + return false;
|
| + }
|
| + if (!SearchForGattServiceDevicePaths(device->address,
|
| + service_record_states)) {
|
| + return false;
|
| }
|
| }
|
| }
|
|
|