Diff between 648b4362521bcd9146b88d03e51e05454269e27f and 1ee1fc8e387c074c474bfdae15707f1afa76e1b9
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/bap.c | +3 | -1 | modified |
Full Patch
diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index dfdf872..cfe6854 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -627,7 +627,8 @@ static void select_cb(struct bt_bap_pac *pac, int err, struct iovec *caps,
if (err) {
error("err %d", err);
- return;
+ ep->data->selecting--;
+ goto done;
}
ep->caps = util_iov_dup(caps, 1);
@@ -642,6 +643,7 @@ static void select_cb(struct bt_bap_pac *pac, int err, struct iovec *caps,
DBG("selecting %d", ep->data->selecting);
ep->data->selecting--;
+done:
if (ep->data->selecting)
return;