1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>wimax_dev_rm</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Networking and Network Devices APIs"><link rel="up" href="ch01s06.html" title="WiMAX"><link rel="prev" href="API-wimax-dev-add.html" title="wimax_dev_add"><link rel="next" href="API-struct-wimax-dev.html" title="struct wimax_dev"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">wimax_dev_rm</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-wimax-dev-add.html">Prev</a>&#160;</td><th width="60%" align="center">WiMAX</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-wimax-dev.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-wimax-dev-rm"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>wimax_dev_rm &#8212; 
2     Unregister an existing WiMAX device
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">wimax_dev_rm </b>(</code></td><td>struct wimax_dev * <var class="pdparam">wimax_dev</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idp1097678388"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>wimax_dev</code></em></span></dt><dd><p>
4     WiMAX device descriptor
5    </p></dd></dl></div></div><div class="refsect1"><a name="idp1097680004"></a><h2>Description</h2><p>
6   Unregisters a WiMAX device previously registered for use with
7   <code class="function">wimax_add_rm</code>.
8   </p><p>
9
10   IMPORTANT! Must call before calling <code class="function">unregister_netdev</code>.
11   </p><p>
12
13   After this function returns, you will not get any more user space
14   control requests (via netlink or debugfs) and thus to wimax_dev-&gt;ops.
15   </p><p>
16
17   Reentrancy control is ensured by setting the state to
18   <code class="constant">__WIMAX_ST_QUIESCING</code>. rfkill operations coming through
19   wimax_*rfkill*() will be stopped by the quiescing state; ops coming
20   from the rfkill subsystem will be stopped by the support being
21   removed by <code class="function">wimax_rfkill_rm</code>.
22</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-wimax-dev-add.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch01s06.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-wimax-dev.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">wimax_dev_add</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct wimax_dev</span></td></tr></table></div></body></html>
23