Bluetooth: MGMT: Make MGMT_OP_LOAD_CONN_PARAM update existing connection
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 10 May 2024 14:36:45 +0000 (10:36 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 01:33:24 +0000 (21:33 -0400)
commit0ece498c27d8cd2fdad6f49a6abc34b8badd8fbc
treec27a743fe4105407e5fdc94db1e88fb35579be3b
parentecb1e1dcb7b5d68828c13ab3f99e399b4ec0c350
Bluetooth: MGMT: Make MGMT_OP_LOAD_CONN_PARAM update existing connection

This makes MGMT_OP_LOAD_CONN_PARAM update existing connection by
dectecting the request is just for one connection, parameters already
exists and there is a connection.

Since this is a new behavior the revision is also updated to enable
userspace to detect it.

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