File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -4540,7 +4540,6 @@ static const struct {
4540
4540
*/
4541
4541
static int hci_dev_setup_sync (struct hci_dev * hdev )
4542
4542
{
4543
- struct fwnode_handle * fwnode = dev_fwnode (hdev -> dev .parent );
4544
4543
int ret = 0 ;
4545
4544
bool invalid_bdaddr ;
4546
4545
size_t i ;
@@ -4569,9 +4568,7 @@ static int hci_dev_setup_sync(struct hci_dev *hdev)
4569
4568
4570
4569
if (!ret ) {
4571
4570
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 ))
4575
4572
hci_dev_get_bd_addr_from_property (hdev );
4576
4573
4577
4574
if (bacmp (& hdev -> public_addr , BDADDR_ANY ) &&
You can’t perform that action at this time.
0 commit comments