Diff between a2aaf050ccfb6ba2c3a2336815a66ddc29036f05 and 755d9d311677a400253f6921002784ed8729489f
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +4 | -0 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index 9e23c19..831efea 100644
--- a/src/device.c
+++ b/src/device.c
@@ -2063,6 +2063,10 @@ static DBusMessage *new_authentication_return(DBusMessage *msg, uint8_t status)
return dbus_message_new_error(msg,
ERROR_INTERFACE ".AuthenticationCanceled",
"Authentication Canceled");
+ case MGMT_STATUS_ALREADY_PAIRED:
+ return dbus_message_new_error(msg,
+ ERROR_INTERFACE ".AlreadyExists",
+ "Already Paired");
default:
return dbus_message_new_error(msg,
ERROR_INTERFACE ".AuthenticationFailed",