]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/usb/host/isp1362-hcd.c
USB: straighten out port feature vs. port status usage
[mirror_ubuntu-artful-kernel.git] / drivers / usb / host / isp1362-hcd.c
index acc157da72757d89dc7fd76e394658d1a94c94ae..6a6a50849bfed0321859ba665a3bb105e068d5de 100644 (file)
@@ -1265,7 +1265,7 @@ static int isp1362_urb_enqueue(struct usb_hcd *hcd,
 
        /* don't submit to a dead or disabled port */
        if (!((isp1362_hcd->rhport[0] | isp1362_hcd->rhport[1]) &
-             (1 << USB_PORT_FEAT_ENABLE)) ||
+             USB_PORT_STAT_ENABLE) ||
            !HC_IS_RUNNING(hcd->state)) {
                kfree(ep);
                retval = -ENODEV;