usb_wwan: data consistency in error case
authorOliver Neukum <oliver@neukum.org>
Thu, 10 Feb 2011 14:33:23 +0000 (15:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 18:51:12 +0000 (10:51 -0800)
commit433508ae30f13c0bf6905e576c42899a8535f0bb
tree9a660bc03d3686924dd734322206164ca8fe440a
parent3d06bf152abcc3895a0f3afa21d762d84c9aecbc
usb_wwan: data consistency in error case

As soon as the first error happens, the write must
be stopped, lest we send mutilated messages.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb_wwan.c