/* This function will set callback to be called when the network interface device status has been changed. */
void netdev_set_status_callback(struct netdev *netdev, netdev_callback_fn status_callback)
/* This function will set callback to be called when the network interface device status has been changed. */
void netdev_set_status_callback(struct netdev *netdev, netdev_callback_fn status_callback)
{
    RT_ASSERT(netdev);
    RT_ASSERT(status_callback);
    netdev->status_callback = status_callback;
}