linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btbcm: disable read tx power for MacBook Air 8,1 and 8,2
@ 2022-01-03 13:28 Aditya Garg
  2022-01-06 13:56 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Aditya Garg @ 2022-01-03 13:28 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz, Johan Hedberg
  Cc: Linux Kernel Mailing List, linux-bluetooth, Orlando Chamberlain,
	admin, stable

From: Aditya Garg <gargaditya08@live.com>

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>
Cc: stable@vger.kernel.org
---
 drivers/bluetooth/btbcm.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index 07fabaa5a..d9ceca7a7 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -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."),
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] btbcm: disable read tx power for MacBook Air 8,1 and 8,2
  2022-01-03 13:28 [PATCH] btbcm: disable read tx power for MacBook Air 8,1 and 8,2 Aditya Garg
@ 2022-01-06 13:56 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2022-01-06 13:56 UTC (permalink / raw)
  To: Aditya Garg
  Cc: Luiz Augusto von Dentz, Johan Hedberg, Linux Kernel Mailing List,
	linux-bluetooth, Orlando Chamberlain, admin, stable

Hi Aditya,

> 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>
> Cc: stable@vger.kernel.org
> ---
> drivers/bluetooth/btbcm.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-06 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 13:28 [PATCH] btbcm: disable read tx power for MacBook Air 8,1 and 8,2 Aditya Garg
2022-01-06 13:56 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).