]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: hci_core: Fix using ll_privacy_capable for current settings
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 4 Aug 2025 18:05:03 +0000 (14:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:45 +0000 (16:34 +0200)
commit5a044299c709ed6a73703d29f716ec0c32db4cd7
tree3c2d6bf46782c3eebac8727793a5eafb74c894d0
parent5c472a3a3987711cec485e592311ed3be1eb7f1c
Bluetooth: hci_core: Fix using ll_privacy_capable for current settings

[ Upstream commit 3dcf7175f2c04bd3a7d50db3fa42a0bd933b6e23 ]

ll_privacy_capable only indicates that the controller supports the
feature but it doesnt' check that LE is enabled so it end up being
marked as active in the current settings when it shouldn't.

Fixes: ad383c2c65a5 ("Bluetooth: hci_sync: Enable advertising when LL privacy is enabled")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/bluetooth/hci_core.h
net/bluetooth/mgmt.c