"longtermkeys" file already includes address type in its keys. It isn't necessary to store the address type in its value as well. --- src/event.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event.c b/src/event.c index e453e13..a1fc016 100644 --- a/src/event.c +++ b/src/event.c @@ -385,8 +385,8 @@ static int store_longtermkey(bdaddr_t *local, bdaddr_t *peer, newkey = g_string_new(val); g_free(val); - g_string_append_printf(newkey, " %d %d %d %d %d ", bdaddr_type, - authenticated, master, enc_size, ediv); + g_string_append_printf(newkey, " %d %d %d %d ", authenticated, master, + enc_size, ediv); str = buf2str(rand, 8); if (str == NULL) { -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html