Diff between f1afca6a097bdc5a2a21508146875bab322dbe48 and 0c56d482fd20c86d4a33cc91e117fc2af96ef570
Changed Files
| File | Additions | Deletions | Status |
| src/shared/bap.c | +1 | -1 | modified |
Full Patch
diff --git a/src/shared/bap.c b/src/shared/bap.c
index b779f67..27321a3 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -1730,7 +1730,7 @@ static bool bap_queue_req(struct bt_bap *bap, struct bt_bap_req *req)
struct queue *queue;
struct bt_att *att = bt_bap_get_att(bap);
uint16_t mtu = bt_att_get_mtu(att);
- uint16_t len = 2 + bap_req_len(req);
+ uint16_t len = 3 + 2 + bap_req_len(req);
if (len > mtu) {
DBG(bap, "Unable to queue request: req len %u > %u mtu", len,