Re: How should we handle bogus bInterval descriptor values?

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Novell
Message-ID <[email protected]>
Am Montag, 7. Mai 2007 18:06 schrieb Alan Stern:

> Possibilities:
> 
> 	Unilaterally change the 0 to something reasonable -- but what?

Leave it to the drivers.

> 	Declare the descriptor illegal and log a warning message.
> 
> Any other suggestions?

WARN_ON() for using 0.

	Regards
		Oliver

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