Re: [linux-usb-devel] usb_fill_bulk_urb() broken for USB1.1?

Keith Chew
2007-06-27T07:31:09Z

Hi Oliver

>
> What do you use as arguments for usb_fill_bulk_urb() ? One of the sanity tests
> in usb_submit_urb() is triggered.
>

Usage:

usb_fill_bulk_urb(macp->intr_urb, macp->usb,
usb_rcvbulkpipe(macp->usb, EP_INT_IN),
macp->IntEPBuffer, MAX_EPINT_BUFFER,
zd1211_intr_cb, macp);

where

#define EP_INT_IN 0x03
#define MAX_EPINT_BUFFER 64

Here are the relevant structure definitions:

struct usb_device *usb;
struct urb *intr_urb;
u8 *IntEPBuffer;

I can post the full structure if required.

Regards
Keith