]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ssu100: refine process_packet in ssu100
authorBill Pemberton <wfp5p@virginia.edu>
Thu, 5 Aug 2010 21:01:06 +0000 (17:01 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 03:50:15 +0000 (20:50 -0700)
commit07a4cd33f710eb666c77d6f668cda926f8802d14
treea0204b8573ef9695bed6db1373b671d055c5ced9
parent035fbc5881e98780a644fababa1258f7a08c3d6a
USB: ssu100: refine process_packet in ssu100

The status information does not appear at the start of each incoming
packet so the check for len < 4 at the start of ssu100_process_packet
is wrong.  Remove it.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ssu100.c