Diff between 932b90f6c33e8f428bbfd1d761ff966e7d258c7f and 605ee768b789602f59f298423dfbad780deeeb8c
Changed Files
| File | Additions | Deletions | Status |
| src/shared/csip.c | +2 | -0 | modified |
Full Patch
diff --git a/src/shared/csip.c b/src/shared/csip.c
index ff2047a..094f448 100644
--- a/src/shared/csip.c
+++ b/src/shared/csip.c
@@ -122,6 +122,8 @@ void bt_csip_detach(struct bt_csip *csip)
if (!queue_remove(sessions, csip))
return;
+ bt_gatt_client_idle_unregister(csip->client, csip->idle_id);
+
bt_gatt_client_unref(csip->client);
csip->client = NULL;