]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: MGMT: Allow use of Set Device Flags without Add Device
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 6 Oct 2025 20:32:24 +0000 (16:32 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Dec 2025 21:00:06 +0000 (16:00 -0500)
commita3b76bf4c4c90994248e3211b300d2d9834874f9
tree731452db31c24fc6119525ae06875f7465d4c09f
parentf817db10dc80d5d1eece60d93eba11062afe5154
Bluetooth: MGMT: Allow use of Set Device Flags without Add Device

In certain cases setting devices flags like HCI_CONN_FLAG_PAST it
shouldn't require to do Add Device first since it may not need to add
an auto-connect policy, so this instead just automatically creates
a hci_conn_params if one cannot be found using HCI_AUTO_CONN_DISABLED.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c