system locked while hostap is being initialized.

Danny Kim parkthwin
Fri Apr 14 15:57:58 PDT 2006


Hi

I tried to run hostap version 0.2.6 soekris net4826 with metrix pebble 
linux.
The problem is whenever hostap driver module is inserted, system is locked.
I traced it with lots of printk and I learned that It is locked inside file 
"hostap_hw.c"

hfa384x_cmd_issue {
...

        HFA384X_OUTW(entry->param0, HFA384X_PARAM0_OFF);
        HFA384X_OUTW(entry->param1, HFA384X_PARAM1_OFF);
        HFA384X_OUTW(entry->cmd, HFA384X_CMD_OFF);
        entry->issued = 1;

       spin_unlock_irqrestore(&local->cmdlock, flags); <======= Locked here
...
}

I googled it and found there was some discuss ( 
http://hostap.epitest.fi/hostap/2002-07/1220.html )
on similar problem long time ago but it was not as serious as mine.
Is there any patch that I should apply?


Thank you for your help






More information about the Hostap mailing list