Skip to content

Commit eb7e3e1

Browse files
committed
Set the controller name on Monterey+, this will skip the bluetoothd's board-id check and decide to USB transport directly.
1 parent 1802ba6 commit eb7e3e1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

IntelBluetoothFirmware/IntelBluetoothFirmware.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,11 @@ bool IntelBluetoothFirmware::start(IOService *provider)
9898
void IntelBluetoothFirmware::publishReg(bool isSucceed, const char *fwName)
9999
{
100100
m_pDevice->setProperty("FirmwareLoaded", isSucceed);
101-
if (isSucceed) {
101+
if (isSucceed)
102102
setProperty("fw_name", OSString::withCString(fwName));
103-
}
103+
// Monterey+
104+
if (version_major >= 21)
105+
m_pDevice->setName("Bluetooth USB Host Controller");
104106
}
105107

106108
void IntelBluetoothFirmware::cleanUp()

0 commit comments

Comments
 (0)