bluetooth: Implement btuart_close for btuart upperhalf driver

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-10-02 03:20:15 +08:00
committed by Alan Carvalho de Assis
parent 11d083b358
commit fab8b081c0
5 changed files with 22 additions and 4 deletions
@@ -83,6 +83,7 @@ int btuart_register(FAR const struct btuart_lowerhalf_s *lower)
upper->dev.head_reserve = H4_HEADER_SIZE;
upper->dev.open = btuart_open;
upper->dev.send = btuart_send;
upper->dev.close = btuart_close;
upper->lower = lower;
/* And register the driver with the network and the Bluetooth stack. */