28 lines
875 B
Diff
28 lines
875 B
Diff
|
From e5c9702bd2ffd09e48c118ab40c2764590af7929 Mon Sep 17 00:00:00 2001
|
||
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
||
|
Date: Sat, 1 May 2021 12:41:14 +0000
|
||
|
Subject: [PATCH] Workaround to make several broadcom bluetooth serdev devices
|
||
|
work even without proper MAC address
|
||
|
|
||
|
---
|
||
|
drivers/bluetooth/btbcm.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
|
||
|
index 1b9743b7f..b274f1cdd 100644
|
||
|
--- a/drivers/bluetooth/btbcm.c
|
||
|
+++ b/drivers/bluetooth/btbcm.c
|
||
|
@@ -87,8 +87,8 @@ int btbcm_check_bdaddr(struct hci_dev *hdev)
|
||
|
if (btbcm_set_bdaddr_from_efi(hdev) != 0) {
|
||
|
bt_dev_info(hdev, "BCM: Using default device address (%pMR)",
|
||
|
&bda->bdaddr);
|
||
|
- set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks);
|
||
|
+ //set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
kfree_skb(skb);
|
||
|
--
|
||
|
2.25.1
|
||
|
|