mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-15 22:20:59 +00:00
hci: only return true if command was sent in hci_run_general_pending_commands
This commit is contained in:
parent
1f34df2cf7
commit
ee02574111
@ -4800,8 +4800,9 @@ static bool hci_run_general_pending_commands(void){
|
||||
log_info("sending hci_accept_connection_request");
|
||||
connection->state = ACCEPTED_CONNECTION_REQUEST;
|
||||
hci_send_cmd(&hci_accept_connection_request, connection->address, hci_stack->master_slave_policy);
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_BLE
|
||||
|
Loading…
x
Reference in New Issue
Block a user