mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-10 15:40:11 +00:00
hci: exit hci_run after sending remote name request
This commit is contained in:
parent
e0bb66f826
commit
0e55bd6930
@ -2822,6 +2822,7 @@ static void hci_run(void){
|
||||
hci_stack->remote_name_state = GAP_REMOTE_NAME_STATE_W4_COMPLETE;
|
||||
hci_send_cmd(&hci_remote_name_request, hci_stack->remote_name_addr,
|
||||
hci_stack->remote_name_page_scan_repetition_mode, hci_stack->remote_name_clock_offset);
|
||||
return;
|
||||
}
|
||||
// pairing
|
||||
if (hci_stack->gap_pairing_state != GAP_PAIRING_STATE_IDLE){
|
||||
|
Loading…
x
Reference in New Issue
Block a user