]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Bluetooth: btbcm: disable read tx power for MacBook Air 8,1 and 8,2
authorAditya Garg <gargaditya08@live.com>
Mon, 3 Jan 2022 13:28:42 +0000 (13:28 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 6 Jan 2022 13:55:33 +0000 (14:55 +0100)
The MacBook Air 8,1 and 8,2 also need querying of LE Tx power
to be disabled for Bluetooth to work.

Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org
drivers/bluetooth/btbcm.c

index 07fabaa5aa29793ce8392bad48b6d5fbcaa2e8e7..d9ceca7a7935c51cbbcefbefcc953f037e8fe128 100644 (file)
@@ -363,6 +363,18 @@ static const struct dmi_system_id disable_broken_read_transmit_power[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro16,4"),
                },
        },
+       {
+                .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "Apple Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir8,1"),
+               },
+       },
+       {
+                .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "Apple Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir8,2"),
+               },
+       },
        {
                 .matches = {
                        DMI_MATCH(DMI_BOARD_VENDOR, "Apple Inc."),