Skip to content

Commit a4a196f

Browse files
ivaniushkovjhedberg
authored andcommitted
Bluetooth: fix iso_has_ts field for SDU fragmented to multiple HCI packets
iso_has_ts wasn't set correcrly for fragments of HCI ISO Data packets, now it is set depending on timestamp provided in the original buffer provided by host user Signed-off-by: Ivan Iushkov <[email protected]>
1 parent 4f5323a commit a4a196f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/bluetooth/host/conn.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ static struct net_buf *create_frag(struct bt_conn *conn, struct net_buf *buf)
712712
/* Fragments never have a TX completion callback */
713713
tx_data(frag)->tx = NULL;
714714
tx_data(frag)->is_cont = false;
715+
tx_data(frag)->iso_has_ts = tx_data(buf)->iso_has_ts;
715716

716717
return frag;
717718
}

0 commit comments

Comments
 (0)