summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/pairing/bluetooth_controller_pairing_controller.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/pairing/bluetooth_controller_pairing_controller.cc b/components/pairing/bluetooth_controller_pairing_controller.cc
index 56c34db..1d8e026 100644
--- a/components/pairing/bluetooth_controller_pairing_controller.cc
+++ b/components/pairing/bluetooth_controller_pairing_controller.cc
@@ -204,6 +204,9 @@ void BluetoothControllerPairingController::OnConnectError(
// devices. If the connection fails, it's not a problem as long as pairing
// was successful.
OnConnect();
+ } else {
+ // This can happen if the confirmation dialog times out.
+ ChangeStage(STAGE_ESTABLISHING_CONNECTION_ERROR);
}
}