--- android/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gatt.c b/android/gatt.c index 4a720cc..857ffe0 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -1194,7 +1194,7 @@ reply: /* If this is last client do more cleaning */ connection_cleanup(dev); - dev = queue_remove_if(conn_list, match_dev_by_bdaddr, &dev->bdaddr); + queue_remove(conn_list, dev); put_device_on_disc_list(dev); } -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html