Changes in / [48d2765:269bd9b4] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/utils/device_keeper.c

    r48d2765 r269bd9b4  
    3535#include <assert.h>
    3636#include <errno.h>
     37#include <usb/debug.h>
    3738
    3839#include "device_keeper.h"
     
    120121        case 0x9: /* set configuration */
    121122        case 0x11: /* set interface */
    122                 instance->devices[target.address].toggle_status = 0;
     123                /* target must be device */
     124                if ((data[0] & 0xf) == 0) {
     125                        instance->devices[target.address].toggle_status = 0;
     126                }
    123127        break;
    124128        }
Note: See TracChangeset for help on using the changeset viewer.