<br><br><div><span class="gmail_quote">On 3/21/07, <b class="gmail_sendername">Jouni Malinen</b> &lt;<a href="mailto:j@w1.fi">j@w1.fi</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Mar 21, 2007 at 12:01:14PM +0100, <a href="mailto:ahuguet@cttc.es">ahuguet@cttc.es</a> wrote:<br><br>&gt; Reading it, seems that the only way to make use of that HostAP driver<br>&gt; (with modified code lines on .c and .h files) is to compile the kernel
<br>&gt; anew?<br>&gt;<br>&gt; Couldn&#39;t be a way to just tell the system to compile HostAP, and use that<br>&gt; &quot;new&quot; version, without need of recompiling the whole kernel?</blockquote><div><br>My &quot;secret recipe&quot; for compiling just an individual driver is
<br>
&nbsp;approximately this:<br>
<br>
1 - cd to the hostap directory, <span class="q">/usr/src/linux-source-2.6.17/drivers/net/wireless/hostap<br>
2 - make your changes and save them<br>
3 - &#39;make -C </span><span class="q">/usr/src/linux-source-2.6.17 SUBDIRS=./ modules&#39;<br>
4 - &#39;make </span><span class="q">-C </span><span class="q">/usr/src/linux-source-2.6.17 SUBDIRS=./ modules_install&#39;<br>
5 - &#39;depmod -ae&#39;</span><br>&nbsp;<br>Then do the rest of what Jouni says; reload (the new) modules, and try it out.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you build Host AP driver as a kernel module, you can just rebuild it<br>and reload the modules to update the driver without having to<br>rebuild or reboot the full kernel.<br><br></blockquote></div><br><span class="q">
<br>I hope this is helpful, (and anyone who finds an error, please correct me!)<br><br>Bob Beers<br></span>