Re: airo_cs load error

Ritz Daniel (daniel.ritz@alcatel.ch)
Mon, 14 Jul 2003 15:21:36 +0200


>@@ -4838,7 +4850,7 @@
> readCapabilityRid(local, &cap_rid);
>
> dwrq->length = sizeof(struct iw_range);
>- memset(range, 0, sizeof(*range));
>+ memset(range, 0, sizeof(range));
> range->min_nwid = 0x0000;
> range->max_nwid = 0x0000;
> range->num_channels = 14;

this is wrong, sizeof(*range) is correct.

btw. the driver is broken anyway, transmit can kill keventd.
(see reports on sf.net, redhat-bugzilla, list-archive)
i'm fixing it, currently testing a 2.4 patch, 2.6-test
patch follows as soon as 2.4 is ok again.

thx
-daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/