From 375f388303ff9fbed1a18315be0afaf28933d33f Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 3 Jan 2013 12:51:36 +0200 Subject: [PATCH] health: Prefer adapter_find functions over manager ones --- profiles/health/mcap_sync.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/profiles/health/mcap_sync.c b/profiles/health/mcap_sync.c index b9c679d69..0d9f17d87 100644 --- a/profiles/health/mcap_sync.c +++ b/profiles/health/mcap_sync.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include @@ -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; -- 2.47.3