hci: send no hci commmands after hci disconnect

This commit is contained in:
Matthias Ringwald 2018-10-17 11:39:20 +02:00
parent c904d4d5e8
commit cabf004e5f

View File

@ -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");