]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 29 Jan 2026 18:23:51 +0000 (13:23 -0500)
commit4bb091013ab0f2edfed3f58bebe658a798cbcc4d
treebc5ed17639ded87566956e5f97a76836b93b12b1
parent49d0901e260739de2fcc90c0c29f9e31e39a2d9b
Bluetooth: hci_conn: Set link_policy on incoming ACL connections

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>
net/bluetooth/hci_conn.c
net/bluetooth/hci_sync.c