]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4658af12c782a6d04732a56c22de7391b97f286c
treed7b52a45defb7702d50a3922cc1051498fbb14d7
parent9662172c69f099fd5ba65f2129889e18fb0095c4
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