problem with downing wlan's

Jiri Fojtasek jiri.fojtasek
Fri Jan 2 04:25:04 PST 2004

Vaclav Dvorak wrote:

> Hello,
> I am having problems with prism54 driver for an SMC2802W 802.11g card 
> in a computer that also has two ZCom XI-626 802.11b cards controlled 
> by hostap, one of them in master mode. The problem may be completely 
> unrelated to hostap (although I'd love to hear if there are any known 
> problems with hostap when combined with prism54). However, during 
> debugging, I stumbled upon a different problem:
> I wanted to try rmmod-ing hostap_pci to see whether it helps, and it 
> doesn't seem to work. I did "ifconfig wlan0 down; ifconfig wlan1 down; 
> rmmod hostap_pci", and it hung the machine. So the next time the 
> machine booted, I tried the commands one by one. The ifconfig's 
> succeeded, but the rmmod never finished, although this time it didn't 
> hang. Instead, the log said: "kernel: unregister_netdevice: waiting 
> for wlan1 to become free. Usage count = 2", and the message repeated 
> approximately once every 10 seconds.
> Hostap is 0.1.2.

I have this problem in one box where i using bridge with ebtables patch 
and imq device. I have found that this is imq device related problem. It 
sometimes forgot to use dev_put() after dev_hold(). What is your setup ?

More information about the Hostap mailing list