Skip to content

Commit a3936e9

Browse files
committed
Revert "Bluetooth: hci_sync: Add fallback-bd-address prop"
This reverts commit cb64f8e.
1 parent 3ece03b commit a3936e9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

net/bluetooth/hci_sync.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4540,7 +4540,6 @@ static const struct {
45404540
*/
45414541
static int hci_dev_setup_sync(struct hci_dev *hdev)
45424542
{
4543-
struct fwnode_handle *fwnode = dev_fwnode(hdev->dev.parent);
45444543
int ret = 0;
45454544
bool invalid_bdaddr;
45464545
size_t i;
@@ -4569,9 +4568,7 @@ static int hci_dev_setup_sync(struct hci_dev *hdev)
45694568

45704569
if (!ret) {
45714570
if (test_bit(HCI_QUIRK_USE_BDADDR_PROPERTY, &hdev->quirks)) {
4572-
if (!bacmp(&hdev->public_addr, BDADDR_ANY) &&
4573-
(invalid_bdaddr ||
4574-
!fwnode_property_present(fwnode, "fallback-bd-address")))
4571+
if (!bacmp(&hdev->public_addr, BDADDR_ANY))
45754572
hci_dev_get_bd_addr_from_property(hdev);
45764573

45774574
if (bacmp(&hdev->public_addr, BDADDR_ANY) &&

0 commit comments

Comments
 (0)