From fa77d46f9db1c18069fd72c88b521197135d80cb Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 25 Jun 2012 11:54:35 +0300 Subject: bluetooth: ignore error if driver returns -EALREADY --- plugins/bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/bluetooth.c') diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index dbf79eb5..cb5fe241 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -275,7 +275,7 @@ static void bluetooth_probe(GSList *uuids, const char *path, continue; err = driver->probe(path, device, adapter, alias); - if (err == 0) + if (err == 0 || err == -EALREADY) continue; ofono_error("%s probe: %s (%d)", driver->name, strerror(-err), -- cgit v1.2.3