]> www.infradead.org Git - users/jedix/linux-maple.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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 15 Aug 2025 13:44:49 +0000 (09:44 -0400)
commit3dcf7175f2c04bd3a7d50db3fa42a0bd933b6e23
tree80a3f5a892cc0a5946330aef94eb571fd9eef5f0
parent709788b154caf042874d765628ffa860f0bb0d1e
Bluetooth: hci_core: Fix using ll_privacy_capable for current settings

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>
include/net/bluetooth/hci_core.h
net/bluetooth/mgmt.c