1. NAME

wimax_dev_rm - Unregister an existing WiMAX device

2. SYNOPSIS

void wimax_dev_rm(struct wimax_dev *  wimax_dev );

3. ARGUMENTS

wimax_dev
    WiMAX device descriptor

4. DESCRIPTION

Unregisters a WiMAX device previously registered for use with wimax_add_rm.

IMPORTANT! Must call before calling unregister_netdev.

After this function returns, you will not get any more user space control requests (via netlink or debugfs) and thus to wimax_dev->ops.

Reentrancy control is ensured by setting the state to __WIMAX_ST_QUIESCING. rfkill operations coming through wimax_*rfkill*() will be stopped by the quiescing state; ops coming from the rfkill subsystem will be stopped by the support being removed by wimax_rfkill_rm.

5. COPYRIGHT