diff options
Diffstat (limited to 'drivers/usb/host/ehci-q.c')
-rw-r--r-- | drivers/usb/host/ehci-q.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c index f136f7f1c4f..36ca5077cdf 100644 --- a/drivers/usb/host/ehci-q.c +++ b/drivers/usb/host/ehci-q.c | |||
@@ -658,7 +658,7 @@ qh_urb_transaction ( | |||
658 | /* | 658 | /* |
659 | * data transfer stage: buffer setup | 659 | * data transfer stage: buffer setup |
660 | */ | 660 | */ |
661 | i = urb->num_sgs; | 661 | i = urb->num_mapped_sgs; |
662 | if (len > 0 && i > 0) { | 662 | if (len > 0 && i > 0) { |
663 | sg = urb->sg; | 663 | sg = urb->sg; |
664 | buf = sg_dma_address(sg); | 664 | buf = sg_dma_address(sg); |