em9301: support vendor specific set baudrate command

This commit is contained in:
Matthias Ringwald 2017-07-25 17:12:02 +02:00
parent d40c3de009
commit 9ba7722dcc

View File

@ -83,7 +83,7 @@ static void chipset_set_bd_addr_command(bd_addr_t addr, uint8_t *hci_cmd_buffer)
static void chipset_set_baudrate_command(uint32_t baudrate, uint8_t *hci_cmd_buffer){
// lookup baudrates
int i;
int found;
int found = 0;
for (i=0;i < sizeof(baudrates)/sizeof(uint32_t);i++){
if (baudrates[i] == baudrate){
found = i;