wimax_reset (9) - Linux Man Pages
wimax_reset: Reset a WiMAX device
wimax_reset - Reset a WiMAX device
int wimax_reset(struct wimax_dev
- WiMAX device descriptor
0 if ok and a warm reset was done (the device still exists in the system).
-ENODEV if a cold/bus reset had to be done (device has disconnected and reconnected, so current handle is not valid any more).
-EINVAL if the device is not even registered.
Called when wanting to reset the device for any reason. Device is taken back to power on status.