Index: device/bluetooth/bluetooth_adapter_mac.mm |
diff --git a/device/bluetooth/bluetooth_adapter_mac.mm b/device/bluetooth/bluetooth_adapter_mac.mm |
index cda597deee6aa0aaa1df0e0acdce78eeeb35af77..c289ae4edaedafc74c031c00c6035108421c1552 100644 |
--- a/device/bluetooth/bluetooth_adapter_mac.mm |
+++ b/device/bluetooth/bluetooth_adapter_mac.mm |
@@ -670,8 +670,7 @@ void BluetoothAdapterMac::DidConnectPeripheral(CBPeripheral* peripheral) { |
[low_energy_central_manager_ cancelPeripheralConnection:peripheral]; |
return; |
} |
- device_mac->DidConnectGatt(); |
- device_mac->DiscoverPrimaryServices(); |
+ device_mac->DidConnectPeripheral(); |
} |
void BluetoothAdapterMac::DidFailToConnectPeripheral(CBPeripheral* peripheral, |