diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-09-04 13:48:01 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-09-04 16:34:41 +0300 |
commit | e86fe268c77017731b792296eea16206918f1852 (patch) | |
tree | 45d391c69a3d8b35e3381f598f26bc01bd0cbcc3 /src/agent.c | |
parent | 6a394b2c7f19b53b630bef2e865f9bc289d4b75c (diff) |
agent: Add missing parameter to DisplayPasskey
Diffstat (limited to 'src/agent.c')
-rw-r--r-- | src/agent.c | 3 |
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)) { |