On Fri, 2015-06-12 at 14:57 +0200, Krzysztof Opasiak wrote:
> > +/*
> > + * show authorization status of usb interface as bitmask
> > + * 1 is authorized, 0 is not authorized
> > + *
> > + * example: 0b00000101 interfaces 0 and 2 are authorized
> > + * the others are not authorized
> > + */
>
> Why do you need so complicated bit mask attribute in device dir instead
> of just a simple "authorized" attribute in interface directory?
Some drivers (BT, CDC ACM, ...) require multiple interfaces
The authorization must be given atomically or probing will
fail.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html