g_key_file_set_string(key_file, addr, "LinkKey", key_str);
g_key_file_set_integer(key_file, addr, "LinkKeyType", type);
- g_key_file_set_integer(key_file, addr, "LinkKeyPINLength", pin_length);
+ g_key_file_set_integer(key_file, addr, "LinkKeyPinLength", pin_length);
data = g_key_file_to_data(key_file, &length, NULL);
g_file_set_contents(ANDROID_STORAGEDIR"/devices", data, length, NULL);
info->type = g_key_file_get_integer(key_file, peer, "LinkKeyType",
NULL);
info->pin_len = g_key_file_get_integer(key_file, peer,
- "LinkKeyPINLength", NULL);
+ "LinkKeyPinLength", NULL);
failed:
g_free(str);