]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: MGMT: Use hci_dev_test_and_{set,clear}_flag
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 1 Dec 2021 19:49:49 +0000 (11:49 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Dec 2021 16:05:51 +0000 (17:05 +0100)
commit02977aed405f3440ef57decee38f148c17b1b486
tree43f97708270e0815a0aa62b04a96599a8241acae
parent92c00f1162366d18c7fd3ae124c0f98bcb28a2c3
Bluetooth: MGMT: Use hci_dev_test_and_{set,clear}_flag

This make use of hci_dev_test_and_{set,clear}_flag instead of doing 2
operations in a row.

Fixes: f71b55a3b9bb1 ("Bluetooth: Enable controller RPA resolution using Experimental feature")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c