usb_wwan: error case of resume
authorOliver Neukum <oliver@neukum.org>
Thu, 10 Feb 2011 14:33:29 +0000 (15:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 18:51:12 +0000 (10:51 -0800)
commit16871dcac74c63227aa92e0012f3004a648c2062
tree9cfb094c3e86ed37fe1a99a2f8024dd3860f0e43
parent433508ae30f13c0bf6905e576c42899a8535f0bb
usb_wwan: error case of resume

If an error happens during resumption.
The remaining data has to be cleanly discarded and the pm
counters have to be adjusted.

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