summaryrefslogtreecommitdiff
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-03-08 16:16:31 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-04-07 11:46:13 -0700
commit7245ef7a5a69f2b9c6f456f07721b8e7a0381b9f (patch)
treef61b6081f0ba45ce3a08b269a99370d18d40c591 /include/net/bluetooth/l2cap.h
parent34cdcc9369f9b9c7129ef240dcd47fbb2f38d114 (diff)
downloadlinux-next-7245ef7a5a69f2b9c6f456f07721b8e7a0381b9f.tar.gz
Bluetooth: L2CAP: Delay identity address updates
This delays the identity address updates to give time for userspace to process the new address otherwise there is a risk that userspace creates a duplicated device if the MGMT event is delayed for some reason. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 2f766e3437ce..cf393e72d6ed 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -694,7 +694,7 @@ struct l2cap_conn {
struct sk_buff_head pending_rx;
struct work_struct pending_rx_work;
- struct work_struct id_addr_update_work;
+ struct delayed_work id_addr_timer;
__u8 disc_reason;