(Linux) Added support for checking for multiple Bluetooth adapters

This commit is contained in:
Leon Styhre 2025-02-24 22:02:14 +01:00
parent 1eff0a9c94
commit 677e2fbb98

View file

@ -201,7 +201,7 @@ void SystemStatus::getStatusBluetooth()
hasBluetooth = true; hasBluetooth = true;
#elif defined(__linux__) #elif defined(__linux__)
if (hci_get_route(nullptr) == 0) if (hci_get_route(nullptr) != -1)
hasBluetooth = true; hasBluetooth = true;
#endif #endif