USB: fix cdc-acm regression in open
commit2707ec76dd3b2132b64da3a2f7b55d3dbbae51a7
authorOliver Neukum <oliver@neukum.org>
Tue, 8 Sep 2009 21:51:28 +0000 (8 23:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:31:55 +0000 (5 09:31 -0700)
tree8cc7b10b3209156d2f151488551ac27fe43bccb0
parent3c53c8d84f33ca107186b489609a95e17e08f6d6
USB: fix cdc-acm regression in open

commit 7af25b4b34a2439020d78da765a3bed0ff73f25c upstream.

cdc-acm needs to set a flag during open to tell the
tty layer that the device is initialized

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Paul Martin <pm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c