aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/l2cap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c
index a9fdfe401f5b..108c2f290ac5 100644
--- a/net/bluetooth/l2cap.c
+++ b/net/bluetooth/l2cap.c
@@ -4117,7 +4117,7 @@ static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk
4117 skb_pull(skb, 2); 4117 skb_pull(skb, 2);
4118 len = skb->len; 4118 len = skb->len;
4119 4119
4120 if (__is_sar_start(control)) 4120 if (__is_sar_start(control) && __is_iframe(control))
4121 len -= 2; 4121 len -= 2;
4122 4122
4123 if (pi->fcs == L2CAP_FCS_CRC16) 4123 if (pi->fcs == L2CAP_FCS_CRC16)