Diff between 6e5ee2d7b890041a7703642c2f805bfa0b49389a and 375f388303ff9fbed1a18315be0afaf28933d33f

Changed Files

File Additions Deletions Status
profiles/health/mcap_sync.c +1 -3 modified

Full Patch

diff --git a/profiles/health/mcap_sync.c b/profiles/health/mcap_sync.c
index b9c679d..0d9f17d 100644
--- a/profiles/health/mcap_sync.c
+++ b/profiles/health/mcap_sync.c
@@ -34,7 +34,6 @@
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/l2cap.h>
 #include <adapter.h>
-#include <manager.h>
 #include <btio/btio.h>
 #include <log.h>
 
@@ -231,8 +230,7 @@ static gboolean read_btclock(struct mcap_mcl *mcl, uint32_t *btclock,
 	int which = 1;
 	struct btd_adapter *adapter;
 
-	adapter = manager_find_adapter(&mcl->mi->src);
-
+	adapter = adapter_find(&mcl->mi->src);
 	if (!adapter)
 		return FALSE;