]> Git Repo - linux.git/commit
USB: usb_wwan: fix bulk-urb allocation
authorJohan Hovold <[email protected]>
Fri, 26 Oct 2012 16:44:20 +0000 (18:44 +0200)
committerGreg Kroah-Hartman <[email protected]>
Tue, 30 Oct 2012 19:46:51 +0000 (12:46 -0700)
commit8e493ca1767d4951ed1322abaa74d6edbca29918
tree860d7e18f5698d0c975075dc86dfd45097a859d8
parent169b245a726ad577a2b66b5c0a608f4633715342
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 <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/serial/usb_wwan.c
This page took 0.073394 seconds and 4 git commands to generate.