Skip to content

Commit e668eb1

Browse files
bgodavarholtmann
authored andcommitted
Bluetooth: hci_core: Don't stop BT if the BD address missing in dts
When flag HCI_QUIRK_USE_BDADDR_PROPERTY is set, we will read the bluetooth address from dts. If the bluetooth address node is missing from the dts we will enable it controller UNCONFIGURED state. This patch enables the normal flow even if the BD address is missing from the dts tree. Signed-off-by: Balakrishna Godavarthi <[email protected]> Tested-by: Harish Bandi <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent ecf2b76 commit e668eb1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/bluetooth/hci_core.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,8 +1460,6 @@ static int hci_dev_do_open(struct hci_dev *hdev)
14601460
hdev->set_bdaddr)
14611461
ret = hdev->set_bdaddr(hdev,
14621462
&hdev->public_addr);
1463-
else
1464-
ret = -EADDRNOTAVAIL;
14651463
}
14661464

14671465
setup_failed:

0 commit comments

Comments
 (0)