Bluetooth: MGMT: Add conditions for setting HCI_CONN_FLAG_REMOTE_WAKEUP
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 12 May 2022 22:31:33 +0000 (15:31 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 13 May 2022 11:22:29 +0000 (13:22 +0200)
commita9a347655d224fa2841877957b34fc9d491fc2d7
tree802a28319d78067f07ca813faa0e5f17ee4a6e8e
parentbaabb7f530e8a3f0085d12f4ea0bada4115515d3
Bluetooth: MGMT: Add conditions for setting HCI_CONN_FLAG_REMOTE_WAKEUP

HCI_CONN_FLAG_REMOTE_WAKEUP can only be set if device can be programmed
in the allowlist which in case of device using RPA requires LL Privacy
support to be enabled.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=215768
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c