Re: [PATCH] staging/wlan-ng: block ioctls until card fullyinitialised

From: Richard Kennedy
Date: Wed Feb 18 2009 - 13:14:49 EST


On Tue, 2009-02-17 at 18:21 -0800, Greg KH wrote:
> On Tue, Feb 17, 2009 at 12:19:18PM +0000, Richard Kennedy wrote:
> > Add a mutex to block ioctls before the card is fully initialised and
> > only allow one ioctl at a time.
> > This stops udev trying to load the firmware before to card is fully up.
> >
> > patch ported from wlan-ng-devel
> >
> > Karl Relton <karllinuxtest.relton@xxxxxxxxxxxx> spotted that this was
> > missing from the staging version,
> > http://lists.linux-wlan.com/pipermail/linux-wlan-devel/2009-February/003890.html
>
> Karl sent me a patch a few days before you that also added this
> functionality.
>
> Unfortunatly, both of your patches don't apply to the latest version of
> the wlan-ng driver as it has had a lot of work done on it recently.
>
> Could one of you grab the linux-next tree and make a patch up against
> the version in it so that I can apply this?
>
> thanks,
>
> greg k-h
Sorry about that, I'd forgotten that wlan-ng was included in linux-next.

I've updated the patch and am just testing it & will post it shortly.

BTW thanks to Moritz Muehlenhoff for the clean-ups.

regards
Richard



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