Re: [PATCH] hci-usb bugfix

From: Alan Stern
Date: Mon May 10 2004 - 12:20:07 EST


On Mon, 10 May 2004, Marcel Holtmann wrote:

> Hi Alan,
>
> > It looks like the problem is that hci_usb_disconnect() is trying to do too
> > much. When called for the SCO interface it should simply return.
>
> I came to the same conclusion, but I used the attached patch.
>
> > Does this patch improve the situation?
>
> Not tested ;)

Better not test it -- I just noticed that without your patch installed the
driver would try to dereference a NULL pointer! Probably the safest
approach is to use both patches.

Alan Stern

-
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/