summaryrefslogtreecommitdiff
path: root/monitor/l2cap.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/l2cap.c')
-rw-r--r--monitor/l2cap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index e982bdd35..dc4d8eae5 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -2250,7 +2250,8 @@ void l2cap_packet(uint16_t index, bool in, uint16_t handle, uint8_t flags,
/* complete frame */
l2cap_frame(index, in, handle,
index_list[index].frag_cid,
- data, index_list[index].frag_pos);
+ index_list[index].frag_buf,
+ index_list[index].frag_pos);
clear_fragment_buffer(index);
return;
}