]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: hci_conn: Set link_policy on incoming ACL connections
authorStefan Sørensen <ssorensen@roku.com>
Tue, 16 Dec 2025 09:20:10 +0000 (10:20 +0100)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:20:30 +0000 (07:20 -0500)
commit214a13b9f262cc049ca71de94e778f41b959d3ca
treed605b7f11660c10071cd22eadc0c08d9c1efecfd
parent13521f4b40581231c3f30c6a73fe799772745085
Bluetooth: hci_conn: Set link_policy on incoming ACL connections

[ Upstream commit 4bb091013ab0f2edfed3f58bebe658a798cbcc4d ]

The connection link policy is only set when establishing an outgoing
ACL connection causing connection idle modes not to be available on
incoming connections. Move the setting of the link policy to the
creation of the connection so all ACL connection will use the link
policy set on the HCI device.

Signed-off-by: Stefan Sørensen <ssorensen@roku.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_conn.c
net/bluetooth/hci_sync.c