OSDN Git Service

Bluetooth: Allow combination of BDADDR_PROPERTY and INVALID_BDADDR quirks
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 21 Nov 2019 23:33:45 +0000 (00:33 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 22 Nov 2019 08:05:09 +0000 (10:05 +0200)
commit7fdf6c6a0d0e032aac2aa4537a23af1e04a397ce
tree82f2633030204969e9786351095818862e03c5ab
parent1199ab4c9e1d4cdfbabd70b4aadbc8e72c691f65
Bluetooth: Allow combination of BDADDR_PROPERTY and INVALID_BDADDR quirks

When utilizing BDADDR_PROPERTY and INVALID_BDADDR quirks together it
results in an unconfigured controller even if the bootloader provides
a valid address. Fix this by allowing a bootloader provided address
to mark the controller as configured.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Tested-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c