• David Vrabel's avatar
    wusb: reset WUSB devices with SetAddress(0) · 4656d5de
    David Vrabel authored
    Using a Reset Device IE to reset a WUSB device is too heavyweight as it
    causes the devcie to disconnect (which the USB stack does not expect and
    cannot handle).  Instead, do a SetAddress(0); SetAddress(AuthAddr) for
    authenticated devices.
    
    Unauthenticated devices will not be reset and the stack will have to rely
    on the device timing out after TrustTimeout and disconnecting.
    Signed-off-by: default avatarDavid Vrabel <david.vrabel@csr.com>
    4656d5de
security.c 18.5 KB