diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-10-26 16:44:20 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 19:46:51 (GMT) |
commit | 8e493ca1767d4951ed1322abaa74d6edbca29918 (patch) | |
tree | 860d7e18f5698d0c975075dc86dfd45097a859d8 /drivers/usb/early/ehci-dbgp.c | |
parent | 169b245a726ad577a2b66b5c0a608f4633715342 (diff) | |
download | linux-fsl-qoriq-8e493ca1767d4951ed1322abaa74d6edbca29918.tar.xz |
USB: usb_wwan: fix bulk-urb allocation
Make sure we do not allocate urbs if we do not have a bulk endpoint.
Legacy code used incorrect assumption to test for bulk endpoints.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/early/ehci-dbgp.c')
0 files changed, 0 insertions, 0 deletions