USB: fix disconnect bug in cdc-acm
authorOliver Neukum <oliver@neukum.org>
Wed, 25 Jun 2008 12:17:16 +0000 (14:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:37 +0000 (15:16 -0700)
commit830f4021a8d5ce97c6bed267132e5e90fb166192
treea07956625a505ebfd808f39ce8cb698db3dc358d
parent62ad296b6ca78bd123864c138814c0a597873693
USB: fix disconnect bug in cdc-acm

cdc-acm must give up secondary interfaces if the primary is disconnected
and vice versa. This wasn't done correctly.

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