drivers/wireless/bluetooth/bt_uart_bcm4343x.c: Fix small a small bug

found during testing.
drivers/wireless/bluetooth/bt_uart_shim.c:  Change the task tname for
the HCI receiver task to bring it into line with the transmitter task.
This commit is contained in:
Dave Marples 2019-10-08 07:55:47 -06:00 committed by Gregory Nutt
parent f800529f67
commit 83e458873f
2 changed files with 2 additions and 1 deletions

View File

@ -401,6 +401,7 @@ static int load_bcm4343x_firmware(FAR const struct btuart_lowerhalf_s *lower)
}
load_bcm4343x_firmware_finished:
lower->rxenable(lower, false);
lower->rxattach(lower, NULL, NULL);
return ret;

View File

@ -471,7 +471,7 @@ FAR void *bt_uart_shim_getdevice(FAR char *path)
s->enabled = true;
s->serialmontask = kthread_create("HCICollect",
s->serialmontask = kthread_create("BT HCI Rx",
CONFIG_BLUETOOTH_TXCONN_PRIORITY,
1024, hcicollecttask, NULL);