diff --git a/dom/bluetooth/BluetoothProfileController.h b/dom/bluetooth/BluetoothProfileController.h index 95cca3b66e4d..4bc37162a7cc 100644 --- a/dom/bluetooth/BluetoothProfileController.h +++ b/dom/bluetooth/BluetoothProfileController.h @@ -47,7 +47,7 @@ BEGIN_BLUETOOTH_NAMESPACE // Major device class = 0x4, Audio/Video // Minor device class = 0x1, Wearable Headset device -#define IS_HEADSET(cod) ((GET_MAJOR_SERVICE_CLASS(cod) == 0x4) && \ +#define IS_HEADSET(cod) ((GET_MAJOR_DEVICE_CLASS(cod) == 0x4) && \ (GET_MINOR_DEVICE_CLASS(cod) == 0x1)) class BluetoothProfileManagerBase;