diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-02-12 22:19:08 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-02-12 22:19:08 +0100 |
commit | 589b687e3eaa185c445b0c9413a91cc90fc8a562 (patch) | |
tree | 3920e31720ef13dbb33a12e616df5f3300a37c07 /src | |
parent | 81fdab9c7eb725146a6de14b12cbd3fab2903625 (diff) |
Update comments on when to store link keys
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus-hci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 6d6696f2..5ced560f 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -923,9 +923,11 @@ int hcid_dbus_link_key_notify(bdaddr_t *local, bdaddr_t *peer, /* Only store the link key if one of the following is true: * 1. this is a legacy link key * 2. this is a changed combination key and there was a previously - * stored one + * stored one * 3. neither local nor remote side had no-bonding as a requirement * 4. the local side had dedicated bonding as a requirement + * 5. the remote side is using dedicated bonding since in that case + * also the local requirements are set to dedicated bonding */ if (key_type < 0x03 || (key_type == 0x06 && old_key_type != 0xff) || (local_auth > 0x01 && remote_auth > 0x01) || |