usb: cdc-wdm: Fix submission of URB after suspension
authorOliver Neukum <oliver@neukum.org>
Sat, 27 Feb 2010 19:55:52 +0000 (20:55 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:16 +0000 (07:24 -0700)
commitbeb1d35f1690fe27694472a010a8e4a9ae11cc50
tree645a2a6845e0a89d18f9dcd7373adf24ad89f95f
parentd855fe2e9c19edaa47baba0e7f95e17f7a24dba8
usb: cdc-wdm: Fix submission of URB after suspension

There's a window under which cdc-wdm may submit
an URB to a device about to be suspended. This
introduces a flag to prevent it.

Signed-off-by: Oliver Neukum <neukum@b1-systems.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-wdm.c