]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2022 10:43:47 +0000 (12:43 +0200)
commit6b1bcd579fc57c58b4e49a58118c2cdaab42533f
treefbb08b8d229b4bc14a8888d05a255c23f1bc173f
parentfbb701e51ee29f9555d47cf4a7a071165c3723d2
Bluetooth: MGMT: Fix Get Device Flags

[ Upstream commit 23b72814da1a094b4c065e0bb598249f310c5577 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/mgmt.c