summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorKevin Dewald <kevin@simpleble.org>2026-10-29 13:28:32 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-11-02 17:09:03 -0500
commitd90f24dc389b9a7524aaac109021d1530fa180f0 (patch)
tree767778319e37294c81cd8d141fd2a324cfbbed63 /scripts/const_structs.checkpatch
parent9ff737119177a6c1ce6083ef8c0fc06355f11869 (diff)
Bluetooth: MGMT: Clear disabled connection parameters when loading none
Load Connection Parameters only clears the disabled connection parameters when it loads more than one entry, so that loading a single entry can update the parameters of one device without dropping the others. Loading no entries does not clear them either, though, which is what bluetoothd does when it starts without stored connection parameters. Pair Device adds disabled connection parameters for the device it pairs with, so these now survive bluetoothd restarts, and new connections to the device keep using the parameters they were created with instead of the defaults set since, e.g. the connection interval from main.conf. Clear the disabled connection parameters unless a single entry is loaded, as was done for any number of entries before. Fixes: 0ece498c27d8 ("Bluetooth: MGMT: Make MGMT_OP_LOAD_CONN_PARAM update existing connection") Assisted-by: Claude:claude-opus-5.5 Signed-off-by: Kevin Dewald <kevin@simpleble.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions