mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
hci: send no hci commmands after hci disconnect
This commit is contained in:
parent
c904d4d5e8
commit
cabf004e5f
@ -3358,6 +3358,9 @@ static void hci_run(void){
|
||||
break;
|
||||
}
|
||||
|
||||
// no further commands if connection is about to get shut down
|
||||
if (connection->state == SENT_DISCONNECT) continue;
|
||||
|
||||
#ifdef ENABLE_CLASSIC
|
||||
if (connection->authentication_flags & HANDLE_LINK_KEY_REQUEST){
|
||||
log_info("responding to link key request");
|
||||
|
Loading…
x
Reference in New Issue
Block a user