Re: [patch 05/17] usb: usb_s et_configuration() obeys authorization

Inaky Perez-Gonzalez <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Intel Corporation
Message-ID <[email protected]>
On Wednesday 18 July 2007 15:01, Ragner Magalhaes wrote:
> ext [email protected] wrote:
> > Will refuse to configure a non-authorized device. 
> > 
> > +	if (dev->authorized == 0)
> > +		configuration = -1;
> >  	if (configuration == -1)
> I think would be better
> if ((dev->authorized == 0) || (configuration == -1))

Dah! Thanks, updated.

-- Inaky

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[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.