hci: outgoing classic connections result in master role

This commit is contained in:
Matthias Ringwald 2020-07-30 12:44:48 +02:00
parent 2dceb1d611
commit f3e2cd2a5d

View File

@ -4212,6 +4212,7 @@ int hci_send_cmd_packet(uint8_t *packet, int size){
return -1; // packet not sent to controller
}
conn->state = SEND_CREATE_CONNECTION;
conn->role = HCI_ROLE_MASTER;
}
log_info("conn state %u", conn->state);
switch (conn->state) {