• Alan Stern's avatar
    [PATCH] USB: Fix disconnect bug in dummy_hcd · 169567a6
    Alan Stern authored
    Greg:
    
    This patch fixes a bug in disconnect handling for the dummy_hcd driver.
    After a disconnect the driver would still accept URBs for endpoint 0,
    leading to an oops.  It also improves the ad-hoc technique used by the
    driver to track its gadget's struct usb_device and fixes the way
    port-power changes are handled.  Please apply.
    
    Alan Stern
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    169567a6
dummy_hcd.c 43.6 KB