From: Johan Hovold Date: Fri, 26 Oct 2012 16:44:20 +0000 (+0200) Subject: USB: usb_wwan: fix bulk-urb allocation X-Git-Tag: v3.7-rc6~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e493ca1767d4951ed1322abaa74d6edbca29918;p=pandora-kernel.git 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 Cc: stable Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed