hfp: log hfp context creation

This commit is contained in:
Matthias Ringwald 2018-05-11 12:44:58 +02:00
parent a8d3af5747
commit bdf572f420

View File

@ -382,6 +382,9 @@ static hfp_connection_t * provide_hfp_connection_context_for_bd_addr(bd_addr_t b
hfp_connection = create_hfp_connection_context();
memcpy(hfp_connection->remote_addr, bd_addr, 6);
hfp_connection->local_role = local_role;
log_info("Create HFP context %p: role %u, addr %s", hfp_connection, local_role, bd_addr_to_str(bd_addr));
return hfp_connection;
}