Diff between c376ba31df39eaf0fd84943d60a5c9ce679c5483 and 650c2191225dadfd6db210443012422f0d66d570

Changed Files

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

Full Patch

diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c
index a42ca48..e351219 100644
--- a/profiles/health/hdp.c
+++ b/profiles/health/hdp.c
@@ -1204,10 +1204,8 @@ static void mcl_connected(struct mcap_mcl *mcl, gpointer data)
 	if (l == NULL) {
 		struct hdp_adapter *hdp_adapter = data;
 		struct btd_device *device;
-		char str[18];
 
-		ba2str(&addr, str);
-		device = adapter_get_device(hdp_adapter->btd_adapter, str,
+		device = adapter_get_device(hdp_adapter->btd_adapter, &addr,
 								BDADDR_BREDR);
 		if (!device)
 			return;