Bluetooth: MGMT: Fix Get Device Flags
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Aug 2022 23:14:32 +0000 (16:14 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 25 Aug 2022 23:21:27 +0000 (16:21 -0700)
commit529d4492aed7c005206383b84c38d515c31c1585
tree56b641fe8d373ec055416d747ae9b8bd51c5187f
parentfc5ae5b44eb26db973a6d4cfa0f75fe0650a95c6
Bluetooth: MGMT: Fix Get Device Flags

Get Device Flags don't check if device does actually use an RPA in which
case it shall only set HCI_CONN_FLAG_REMOTE_WAKEUP if LL Privacy is
enabled.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c