RT-Thread/rt-thread — pull request #158 by grissiom (2013-09-22 14:20:44+00:00)
Title: finsh: unregister rx_indicate when closing the device

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.