BT_INFO("Bonding is ongoing, try update properties");
if (!trigger_bond_info->dev_info ||
(!trigger_bond_info->dev_info->name &&
- !incoming_bond_info->dev_info->alias) ||
+ !trigger_bond_info->dev_info->alias) ||
!trigger_bond_info->dev_info->address ||
trigger_bond_info->dev_info->uuid_count == 0) {
BT_INFO("Complete data is not present, Assigning rem_info");
BLUETOOTH_EVENT_SUPPORTED_PROFILE_TRUSTED,
g_variant_new("(isi)", BLUETOOTH_ERROR_NONE,
address, ev->trust_val));
+ break;
}
case OAL_EVENT_RSSI_MONITORING_ENABLED: {
event_dev_rssi_info_t *ev = event_data;
BT_INFO("Set passkey notification(sender:%s, %s)",
sender, enable ? "Enable" : "Disable");
- result = device_enable_gap_auth_notifications(OAL_PASSKEY_DISPLAY,enable);
+ result = device_enable_gap_auth_notifications(OAL_PASSKEY_DISPLAY, enable);
if (OAL_STATUS_SUCCESS != result) {
BT_ERR("device_enable_gap_auth_notifications error: [%d]", result);
return BLUETOOTH_ERROR_INTERNAL;
if (g_strcmp0(pin_info->address, address) == 0) {
pin_info_list = g_slist_remove(pin_info_list, pin_info);
- g_free(pin_info->pin_code);
+ g_free(pin_info->address);
g_free(pin_info->pin_code);
g_free(pin_info);
break;