Kernel oops when cardctl eject

Jouni Malinen jkmaline at
Mon May 23 17:44:46 EDT 2005

On Fri, May 13, 2005 at 07:08:38AM -0000, manisha r sankpal wrote:

> I have made some changes in HostAP driver. If a station or AP is inactive for say 5 minutes it is automatically deleted from list that hostap keeps. this is provision provided by HostAP driver earlier. I just changed a code in order to reduce timing from 5 min to 1 sec. 

> Consider a situation where WDS links are made between APs (say AP1 & AP2). AP1 is constantly listening to beacons from AP2 and updating its last received frame (last_rx)variable. I have written a timer which is invoked per second and compares current timing with last received beacon. If AP1 fails to listen beacons from AP2 in a second, it will automatically delete the entry of AP1 from its list by invoking timer handler (it's obivious).. 

Are these changes available somewhere?

> while testing this code,I executed modified HostAP driver on AP1 & AP2. when I did "cardctl eject" on AP2, oops are generated and kernel panics.

Does this happen only with the modifications you did or can you
reproduce this with unmodified version of the driver?

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list