hostap bug when unloading driver?

Jar jar at
Wed May 18 11:44:18 EDT 2005

Andrea G Forte wrote:
> Hi all,
> I am using hostap-driver 0.3.7 and Linux kernel 2.4.20 . When I remove 
> the card from the pcmcia slot something weird happens and after a few 
> times if I do "lsmod" it shows: hostap_cs  -4.
> It seems that the driver does not get unloaded correctly. Also, if I try 
> doing "modprobe -r hostap_cs" I get "device busy".
> Does anyone know how to fix this? It did not happen to me when I was 
> using a very old version of the driver (0.0.4).

Can you do '/sbin/cardctl eject' before unloading hostap_cs module.

Best Regards, Jar

More information about the HostAP mailing list