summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-04-29 15:05:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-22 14:29:39 +0200
commit28826a89fdfd49f3291980c2e68b8a7c5d55e199 (patch)
treea94c928348d5c5ecd0a2b3b56ad3bbff57c65295 /net/lapb/lapb_timer.c
parent10c7f1c647da3b77ef8827d974a97b6530b64df0 (diff)
Bluetooth: MGMT: Fix MGMT_OP_ADD_DEVICE invalid device flags
[ Upstream commit 1e2e3044c1bc64a64aa0eaf7c17f7832c26c9775 ] Device flags could be updated in the meantime while MGMT_OP_ADD_DEVICE is pending on hci_update_passive_scan_sync so instead of setting the current_flags as cmd->user_data just do a lookup using hci_conn_params_lookup and use the latest stored flags. Fixes: a182d9c84f9c ("Bluetooth: MGMT: Fix Add Device to responding before completing") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions