Changes in / [51b46f2:cc44f7e] in mainline


Ignore:
Location:
uspace
Files:
2 added
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/usbhid.ma

    r51b46f2 rcc44f7e  
    1 100 usb&interface&class=HID&subclass=0x01&protocol=0x01
     110 usb&class=hid
     210 usb&class=HID
    2310 usb&interface&class=HID
     410 usb&hid
  • uspace/lib/usb/src/request.c

    r51b46f2 rcc44f7e  
    504504 *
    505505 * @param[in] pipe Control endpoint pipe (session must be already started).
    506  * @param[in] index String index (in native endianess),
    507  *      first index has number 1 (index from descriptors can be used directly).
     506 * @param[in] index String index (in native endianess).
    508507 * @param[in] lang String language (in native endianess).
    509508 * @param[out] string_ptr Where to store allocated string in native encoding.
     
    516515                return EBADMEM;
    517516        }
    518         /*
    519          * Index is actually one byte value and zero index is used
    520          * to retrieve list of supported languages.
    521          */
    522         if ((index < 1) || (index > 0xFF)) {
     517        /* Index is actually one byte value. */
     518        if (index > 0xFF) {
    523519                return ERANGE;
    524520        }
Note: See TracChangeset for help on using the changeset viewer.