Skip to content

Commit

Permalink
Bluetooth: hci_core: Don't stop BT if the BD address missing in dts
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bgodavar authored and holtmann committed Apr 24, 2019
1 parent ecf2b76 commit e668eb1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1460,8 +1460,6 @@ static int hci_dev_do_open(struct hci_dev *hdev)
hdev->set_bdaddr)
ret = hdev->set_bdaddr(hdev,
&hdev->public_addr);
else
ret = -EADDRNOTAVAIL;
}

setup_failed:
Expand Down

0 comments on commit e668eb1

Please sign in to comment.