[PATCH 06/14] Bluetooth: hci_uart: Verify the Intel device address when supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When the HCI UART driver detects an Intel device, then verify that
the Bluetooth device address is valid. The generic Intel Bluetooth
support provides a function for this that just needs to be called
and it will set the quirk if needed.

Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
---
 drivers/bluetooth/hci_ldisc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index dc30473563c6..dc6391a98182 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -296,6 +296,7 @@ static int hci_uart_setup(struct hci_dev *hdev)
 #ifdef CONFIG_BT_HCIUART_INTEL
 	case 2:
 		hdev->set_bdaddr = btintel_set_bdaddr;
+		btintel_check_bdaddr(hdev);
 		break;
 #endif
 #ifdef CONFIG_BT_HCIUART_BCM
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux