<br><br><div><span class="gmail_quote">On 3/21/07, <b class="gmail_sendername">Jouni Malinen</b> <<a href="mailto:j@w1.fi">j@w1.fi</a>> 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>> Reading it, seems that the only way to make use of that HostAP driver<br>> (with modified code lines on .c and .h files) is to compile the kernel
<br>> anew?<br>><br>> Couldn't be a way to just tell the system to compile HostAP, and use that<br>> "new" version, without need of recompiling the whole kernel?</blockquote><div><br>My "secret recipe" for compiling just an individual driver is
<br>
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 - 'make -C </span><span class="q">/usr/src/linux-source-2.6.17 SUBDIRS=./ modules'<br>
4 - 'make </span><span class="q">-C </span><span class="q">/usr/src/linux-source-2.6.17 SUBDIRS=./ modules_install'<br>
5 - 'depmod -ae'</span><br> <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>