Commit e668eb1e authored by Balakrishna Godavarthi's avatar Balakrishna Godavarthi Committed by Marcel Holtmann

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: default avatarBalakrishna Godavarthi <bgodavar@codeaurora.org>
Tested-by: default avatarHarish Bandi <c-hbandi@codeaurora.org>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent ecf2b768
...@@ -1460,8 +1460,6 @@ static int hci_dev_do_open(struct hci_dev *hdev) ...@@ -1460,8 +1460,6 @@ static int hci_dev_do_open(struct hci_dev *hdev)
hdev->set_bdaddr) hdev->set_bdaddr)
ret = hdev->set_bdaddr(hdev, ret = hdev->set_bdaddr(hdev,
&hdev->public_addr); &hdev->public_addr);
else
ret = -EADDRNOTAVAIL;
} }
setup_failed: setup_failed:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment