mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 03:32:49 +00:00
hfp: report correct bd_addr for SLC setup error
This commit is contained in:
parent
ba1721ef99
commit
481c0cbc48
@ -706,7 +706,7 @@ static void hfp_handle_slc_setup_error(hfp_connection_t * hfp_connection, uint8_
|
||||
// cache fields for event
|
||||
hfp_role_t local_role = hfp_connection->local_role;
|
||||
bd_addr_t remote_addr;
|
||||
(void)memcpy(remote_addr, hfp_connection, 6);
|
||||
(void)memcpy(remote_addr, hfp_connection->remote_addr, 6);
|
||||
// finalize connection struct
|
||||
hfp_finalize_connection_context(hfp_connection);
|
||||
// emit event
|
||||
|
Loading…
x
Reference in New Issue
Block a user