On Tue, Aug 4, 2009 at 22:00, Oliver Neukum<oliver@xxxxxxxxxx> wrote: > > Alan's words are wise. Try this one. > ... > Author: Oliver Neukum <oliver@xxxxxxxxxx> > Date: Tue Aug 4 21:59:12 2009 +0200 > > usb: cdc-acm: catch usb_enable_endpoint nulling the array of endpoints > > diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c > index e1f8941..c07bcaf 100644 > --- a/drivers/usb/class/cdc-acm.c > +++ b/drivers/usb/class/cdc-acm.c > - > - ep = (usb_pipein(acm->rx_endpoint) ? acm->dev->ep_in : acm->dev->ep_out) > - [usb_pipeendpoint(acm->rx_endpoint)]; > - if (usb_endpoint_xfer_int(&ep->desc)) > + > + if (acm->is_int_ep) It looks very fixed now. No ill-effects whatsoever :) Thanks, Oliver and Alan! -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html