summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-04 14:12:56 -0800
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-04 14:12:56 -0800
commit023a4d21279db474322a9ff9390130754ebfbd82 (patch)
tree788397e5c31bf64e95c23dfc6deb4a64f853c4e8 /src
parent134fbe4c0410416e779667748eab0f89c04243ec (diff)
Fix new key type passing
Diffstat (limited to 'src')
-rw-r--r--src/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security.c b/src/security.c
index f2c24d2b..e9a86ab5 100644
--- a/src/security.c
+++ b/src/security.c
@@ -361,7 +361,7 @@ static void link_key_notify(int dev, bdaddr_t *sba, void *ptr)
dev_id = hci_devid(sa);
- err = hcid_dbus_link_key_notify(sba, dba, evt->link_key, evt->key_type,
+ err = hcid_dbus_link_key_notify(sba, dba, evt->link_key, new_key_type,
io_data[dev_id].pin_length,
old_key_type);
if (err < 0) {