commit | 6682bb39e111b34290e25c4d275c5bcf8bbccbe1 | [log] [tgz] |
---|---|---|
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Tue Sep 08 13:20:16 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Sep 23 06:46:18 2009 -0700 |
tree | b98c9f32ac12fb8c7957d39fd2acc42f8f4ae47e | |
parent | 624defa12f304b4d11eda309bc207fa5a1900d0f [diff] |
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 <sarah.a.sharp@linux.intel.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>