[Bluetooth] Avoid NULL pointer dereference with tty->driver
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 6 Jul 2006 13:53:31 +0000 (15:53 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 12 Jul 2006 22:34:30 +0000 (15:34 -0700)
This patch checks for tty->driver before trying to call flush_buffer().

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

No differences found