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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Feb 2020 09:34:50 +0000 (09:34 +0000)
commitd1e5f8c5156e1f957cf3e3b065836566467489d1
treef1b86e51ebdc5c3fbacce542df82dc5370962961
parentd273ee188a4a8fa558cdfdaad9dfaa3968259e21
Bluetooth: Allow combination of BDADDR_PROPERTY and INVALID_BDADDR quirks

[ Upstream commit 7fdf6c6a0d0e032aac2aa4537a23af1e04a397ce ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_core.c