| Index: components/pairing/bluetooth_host_pairing_controller.cc
|
| diff --git a/components/pairing/bluetooth_host_pairing_controller.cc b/components/pairing/bluetooth_host_pairing_controller.cc
|
| index c8c534fa06a9674645594b7c92e27291f89d6022..8b0b201521495019db5cac03930a610c0a98a362 100644
|
| --- a/components/pairing/bluetooth_host_pairing_controller.cc
|
| +++ b/components/pairing/bluetooth_host_pairing_controller.cc
|
| @@ -471,9 +471,9 @@ HostPairingController::Stage BluetoothHostPairingController::GetCurrentStage() {
|
|
|
| void BluetoothHostPairingController::StartPairing() {
|
| DCHECK_EQ(current_stage_, STAGE_NONE);
|
| - bool bluetooth_available =
|
| - device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable();
|
| - if (!bluetooth_available) {
|
| + const bool bluetooth_supported =
|
| + device::BluetoothAdapterFactory::IsBluetoothSupported();
|
| + if (!bluetooth_supported) {
|
| ChangeStage(STAGE_INITIALIZATION_ERROR);
|
| return;
|
| }
|
|
|