Re: usb_fill_bulk_urb() broken for USB1.1?

"Keith Chew" <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.kernel
Message-ID <[email protected]>
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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.