diff --git a/subscriptions/bluetooth/src/device.rs b/subscriptions/bluetooth/src/device.rs index e8777c0..aec4a72 100644 --- a/subscriptions/bluetooth/src/device.rs +++ b/subscriptions/bluetooth/src/device.rs @@ -241,7 +241,8 @@ pub async fn connect_device(connection: zbus::Connection, device_path: OwnedObje if proxy.device.connected().await? { Ok(()) } else if !proxy.device.paired().await.unwrap_or(false) { - proxy.device.pair().await + proxy.device.pair().await?; + proxy.device.connect().await } else { proxy.device.connect().await }