Diff between bf5d45f2fbd1b1463512f4eb8d30bffb3478ccc7 and 9a1006eebcc190a5e00aec7a568a7fbfe61bf376

Changed Files

File Additions Deletions Status
plugins/hciops.c +2 -2 modified

Full Patch

diff --git a/plugins/hciops.c b/plugins/hciops.c
index 7d807c8..50bf254 100644
--- a/plugins/hciops.c
+++ b/plugins/hciops.c
@@ -3583,7 +3583,7 @@ static int hciops_add_remote_oob_data(int index, bdaddr_t *bdaddr,
 	ba2str(bdaddr, addr);
 	DBG("hci%d bdaddr %s", index, addr);
 
-	match = g_slist_find_custom(dev->oob_data, &bdaddr, oob_bdaddr_cmp);
+	match = g_slist_find_custom(dev->oob_data, bdaddr, oob_bdaddr_cmp);
 
 	if (match) {
 		data = match->data;
@@ -3608,7 +3608,7 @@ static int hciops_remove_remote_oob_data(int index, bdaddr_t *bdaddr)
 	ba2str(bdaddr, addr);
 	DBG("hci%d bdaddr %s", index, addr);
 
-	match = g_slist_find_custom(dev->oob_data, &bdaddr, oob_bdaddr_cmp);
+	match = g_slist_find_custom(dev->oob_data, bdaddr, oob_bdaddr_cmp);
 
 	if (!match)
 		return -ENOENT;