diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-06-25 11:54:35 +0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-06-22 02:46:46 -0500 |
commit | fa77d46f9db1c18069fd72c88b521197135d80cb (patch) | |
tree | ac8af038badfc27c7f8b070c80bfb60932b10327 /plugins | |
parent | 18fb4817f7437a34840c978e282f9889557b2154 (diff) | |
download | ofono-fa77d46f9db1c18069fd72c88b521197135d80cb.tar.bz2 |
bluetooth: ignore error if driver returns -EALREADY
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |