From: Sarah Sharp Date: Tue, 8 Sep 2009 20:20:16 +0000 (-0700) Subject: USB: Fix SS endpoint companion descriptor parsing. X-Git-Tag: v2.6.32-rc1~174^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6682bb39e111b34290e25c4d275c5bcf8bbccbe1;p=pandora-kernel.git USB: Fix SS endpoint companion descriptor parsing. When there's a descriptor after the SuperSpeed endpoint companion descriptor, the previous code would have skipped over twice the length it was supposed to. This code fixes crashes seen with UASP devices (which have a UASP descriptor after the SS endpoint companion descriptor). Signed-off-by: Sarah Sharp Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed