From 677e2fbb98e8ba48de306bb9f4080e835493abb8 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 24 Feb 2025 22:02:14 +0100 Subject: [PATCH] (Linux) Added support for checking for multiple Bluetooth adapters --- es-core/src/SystemStatus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/SystemStatus.cpp b/es-core/src/SystemStatus.cpp index d8f6b5d54..b3cdf20bd 100644 --- a/es-core/src/SystemStatus.cpp +++ b/es-core/src/SystemStatus.cpp @@ -201,7 +201,7 @@ void SystemStatus::getStatusBluetooth() hasBluetooth = true; #elif defined(__linux__) - if (hci_get_route(nullptr) == 0) + if (hci_get_route(nullptr) != -1) hasBluetooth = true; #endif