summaryrefslogtreecommitdiff
path: root/net/bluetooth/l2cap_core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-05-07 09:47:05 +0900
committerMark Brown <broonie@kernel.org>2025-05-07 09:47:05 +0900
commit9fbae052f6f68056fd84e8ba096a7e9ab3464f3d (patch)
tree9761fe612792d8c4e67c5da66fa5258e7c0c13fe /net/bluetooth/l2cap_core.c
parent222a87f6b94f6f177e896d6fcdc7881480344e34 (diff)
parent9f7cd1bcb6363368abc954ff4e727b579813c697 (diff)
This patch set did some clean up and add runtime pm
Merge series from Haibo Chen <haibo.chen@nxp.com>: PATCH1/3/4 to clean up the code, make the code more readable PATCH2 add the runtime pm support PATCH5 use devm_add_action_or_reset() to replace remove() callback, this can avoid oops when do bind/unbind test
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r--net/bluetooth/l2cap_core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 5ca7ac43c58d..73472756618a 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -7415,6 +7415,9 @@ static int l2cap_recv_frag(struct l2cap_conn *conn, struct sk_buff *skb,
return -ENOMEM;
/* Init rx_len */
conn->rx_len = len;
+
+ skb_set_delivery_time(conn->rx_skb, skb->tstamp,
+ skb->tstamp_type);
}
/* Copy as much as the rx_skb can hold */