summaryrefslogtreecommitdiff
path: root/src/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/agent.c')
-rw-r--r--src/agent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/agent.c b/src/agent.c
index b6ddd826..36e96e95 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -676,7 +676,7 @@ failed:
}
int agent_display_passkey(struct agent *agent, struct btd_device *device,
- uint32_t passkey)
+ uint32_t passkey, uint16_t entered)
{
DBusMessage *message;
const gchar *dev_path = device_get_path(device);
@@ -691,6 +691,7 @@ int agent_display_passkey(struct agent *agent, struct btd_device *device,
dbus_message_append_args(message,
DBUS_TYPE_OBJECT_PATH, &dev_path,
DBUS_TYPE_UINT32, &passkey,
+ DBUS_TYPE_UINT16, &entered,
DBUS_TYPE_INVALID);
if (!g_dbus_send_message(connection, message)) {