mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 19:20:54 +00:00
hci: fix debug output for incomming SCO connection
This commit is contained in:
parent
98cc33c4b3
commit
895f6685f2
@ -3237,10 +3237,10 @@ static void hci_run(void){
|
||||
|
||||
#ifdef ENABLE_CLASSIC
|
||||
case RECEIVED_CONNECTION_REQUEST:
|
||||
log_info("sending hci_accept_connection_request, remote eSCO %u", connection->remote_supported_feature_eSCO);
|
||||
connection->state = ACCEPTED_CONNECTION_REQUEST;
|
||||
connection->role = HCI_ROLE_SLAVE;
|
||||
if (connection->address_type == BD_ADDR_TYPE_CLASSIC){
|
||||
log_info("sending hci_accept_connection_request, remote eSCO %u", connection->remote_supported_feature_eSCO);
|
||||
connection->state = ACCEPTED_CONNECTION_REQUEST;
|
||||
hci_send_cmd(&hci_accept_connection_request, connection->address, hci_stack->master_slave_policy);
|
||||
}
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user