Re: Linux 2.2.x with Host AP driver release 2002-04-21

From: Jouni Malinen (
Date: 2002-04-23 20:21:25 UTC

On Sun, Apr 21, 2002 at 11:22:16PM +0200, Bjørn Mork wrote:

> I am using a 2.2.20 kernel with pcmcia-cs version 3.1.29

OK. Problem found and fixed. Linux 2.2.x used different type of 'struct net_device' variable 'name'. It was a pointer and driver tried to write into it when it was NULL..

pcmcia-cs had a mechanism for hiding this change between 2.2 and 2.4 and I removed it during my code re-organization after assuming it was not really used for anything.. Anyway, it was already broken previously for wds links (pcmcia-cs compatibility code supported only one netdevice for each PC Card). The next version of Host AP driver will reserve some extra space for dev->name when compiled for 2.2 kernels.

I'll try to make a new release tomorrow with bug fixes for the problems that have been noticed so far. In addition, I attached a patch for this crash with Linux 2.2 kernels if someone has some use for it before I get the next version out.

Jouni Malinen                                            PGP id EFC895FA

This archive was generated by hypermail 2.1.4.