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)
commit9b2cef31f2823558eb92a35624d37439599f3f9f
treea0204b8573ef9695bed6db1373b671d055c5ced9
parent175230587bcca6dee0a1d6832a8a2138e32ab6ab
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