| Index: device/bluetooth/bluetooth_discovery_manager_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_discovery_manager_mac.mm b/device/bluetooth/bluetooth_discovery_manager_mac.mm
|
| index a2a024d777b29c8614ce7e892e7c16c433f3a5d9..ebeb01dc0904dccea9e4880e3d5def3eaa0ac8c1 100644
|
| --- a/device/bluetooth/bluetooth_discovery_manager_mac.mm
|
| +++ b/device/bluetooth/bluetooth_discovery_manager_mac.mm
|
| @@ -31,7 +31,7 @@ class BluetoothDiscoveryManagerMacClassic;
|
|
|
| namespace device {
|
|
|
| -// ementation of BluetoothDiscoveryManagerMac for Bluetooth classic device
|
| +// Implementation of BluetoothDiscoveryManagerMac for Bluetooth classic device
|
| // discovery, using the IOBluetooth framework.
|
| class BluetoothDiscoveryManagerMacClassic
|
| : public BluetoothDiscoveryManagerMac {
|
| @@ -58,6 +58,10 @@ class BluetoothDiscoveryManagerMacClassic
|
| DVLOG(1) << "Discovery requested";
|
| should_do_discovery_ = true;
|
|
|
| + // Clean the cache so that new discovery sessions find previously
|
| + // discovered devices as well.
|
| + [inquiry_ clearFoundDevices];
|
| +
|
| if (inquiry_running_) {
|
| DVLOG(1) << "Device inquiry already running";
|
| return true;
|
|
|