Re: [linux-usb-devel] Re: [OOPS, usbcore, releaseintf] 2.6.0-test10-mm1

From: Alan Stern
Date: Fri Dec 12 2003 - 10:48:52 EST


On Thu, 11 Dec 2003, Duncan Sands wrote:

> By the way, my patch tests for disconnect in usbfs by doing:
>
> if (dev->state == USB_STATE_NOTATTACHED)
> run_away();
>
> Is this right?

Yes it is.

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/