Diff between 40576ac1badffb151ada76a90b89e85aa2ed9934 and 932b90f6c33e8f428bbfd1d761ff966e7d258c7f
Changed Files
| File | Additions | Deletions | Status |
| src/shared/bap.c | +2 | -0 | modified |
Full Patch
diff --git a/src/shared/bap.c b/src/shared/bap.c
index 952b7be..7a53fbc 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -3818,6 +3818,8 @@ void bt_bap_detach(struct bt_bap *bap)
bap->req = NULL;
}
+ bt_gatt_client_idle_unregister(bap->client, bap->idle_id);
+
/* Cancel queued requests */
queue_remove_all(bap->reqs, NULL, NULL, bap_req_detach);