[Bluetooth] Avoid NULL pointer dereference with tty->driver
This patch checks for tty->driver before trying to call flush_buffer().
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
Showing
想要评论请 注册 或 登录
This patch checks for tty->driver before trying to call flush_buffer().
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>