Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). CAN: the upper-half driver cannot report or flush queued messages and hangs on close() when the bus is disconnected
The task
CAN: the upper-half driver cannot report or flush queued messages and hangs on close() when the bus is disconnected
Part of henryen/OriGent-RL-Data.