usb-serial: add missing tests and debug lines
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 1 Sep 2009 15:39:51 +0000 (11:39 -0400)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:41 +0000 (13:13 -0700)
This patch (as1290) adds some missing tests.  serial_down() isn't
supposed to do anything if the hardware hasn't been initialized, and
serial_close() isn't supposed to do anything if the tty has gotten a
hangup (because serial_hangup() takes care of shutting down the
hardware).

The patch also updates and adds a few debugging lines.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found