Bluetooth: btqcomsmd: use HCI_QUIRK_USE_BDADDR_PROPERTY
authorMatthias Kaehlcke <mka@chromium.org>
Tue, 19 Feb 2019 20:05:58 +0000 (12:05 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 26 Feb 2019 09:08:26 +0000 (10:08 +0100)
commitde79a9df169269d6481b39d46d14768337ee4463
treed7b52a45defb7702d50a3922cc1051498fbb14d7
parent7a0e5b15ca458dd47e4c60b7fa9f22b84c7068c7
Bluetooth: btqcomsmd: use HCI_QUIRK_USE_BDADDR_PROPERTY

Use the HCI_QUIRK_USE_BDADDR_PROPERTY quirk to let the HCI
core handle the reading of 'local-bd-address'. With this there
is no need to set HCI_QUIRK_INVALID_BDADDR, the case of a
non-existing or invalid fwnode property is handled by the core
code.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btqcomsmd.c