mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 07:39:33 +08:00
6d2df9bf94
Because the device could still remain opened when closed by finsh, the old rx_indicate is useless for finsh. Some buggy driver will still generate rx_indicate even after the device has been closed. So FinSh should unregister the rx_indicate when releasing the old device.