aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth')
-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 339f8344ee59..b3907a3b5236 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -1855,6 +1855,9 @@ static inline int l2cap_skbuff_fromiovec(struct l2cap_chan *chan,
1855 sent += count; 1855 sent += count;
1856 len -= count; 1856 len -= count;
1857 1857
1858 skb->len += (*frag)->len;
1859 skb->data_len += (*frag)->len;
1860
1858 frag = &(*frag)->next; 1861 frag = &(*frag)->next;
1859 } 1862 }
1860 1863