From fb30aff2bbeacfc63670d0b3c74bb7ec468514e7 Mon Sep 17 00:00:00 2001 From: Matthias Kaehlcke Date: Wed, 15 Apr 2009 22:28:28 +0200 Subject: [PATCH] --- yaml --- r: 151329 b: refs/heads/master c: 1eba67a60d6c95f7eae94930ec369f2837bb5b12 h: refs/heads/master i: 151327: f772d57c3a76deb2d2f5413b41325b04fe3d312c v: v3 --- [refs] | 2 +- trunk/drivers/usb/host/uhci-q.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 9021bcfdd3e7..f2a37c75969c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fa4c86a0dda8dd508f2542d97febe674d2e686cc +refs/heads/master: 1eba67a60d6c95f7eae94930ec369f2837bb5b12 diff --git a/trunk/drivers/usb/host/uhci-q.c b/trunk/drivers/usb/host/uhci-q.c index 3e5807d14ffb..64e57bfe236b 100644 --- a/trunk/drivers/usb/host/uhci-q.c +++ b/trunk/drivers/usb/host/uhci-q.c @@ -260,7 +260,7 @@ static struct uhci_qh *uhci_alloc_qh(struct uhci_hcd *uhci, INIT_LIST_HEAD(&qh->node); if (udev) { /* Normal QH */ - qh->type = hep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; + qh->type = usb_endpoint_type(&hep->desc); if (qh->type != USB_ENDPOINT_XFER_ISOC) { qh->dummy_td = uhci_alloc_td(uhci); if (!qh->dummy_td) {