Stopping a Network Device
NetDev_Stop()
is called once each time an interface is stopped.
NetDev_Stop()
must perform the following operations:
NetDev_WiFi_Stop()
.NetOS_IF_DeallocTaskPost()
with the address of the transmit buffer data areas.NET_DEV_ERR_NONE
if no error occurs. Otherwise, set perr
to an appropriate network device error code.