summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r--hcid/dbus-adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 001aa2f3..53b65144 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -1814,7 +1814,7 @@ static gboolean create_bonding_conn_complete(GIOChannel *io, GIOCondition cond,
if (!pdata->bonding->connected)
error_connection_attempt_failed(pdata->bonding->conn, pdata->bonding->rq, ENETDOWN);
else
- error_failed(pdata->bonding->conn, pdata->bonding->rq, EIO);
+ error_authentication_failed(pdata->bonding->conn, pdata->bonding->rq);
goto failed;
}