diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c index 9fccc26235a2b6a56f2dcfa05b50409a2e303d5a..8dabac1929b04b2d09cdf7f62e3f3742bc9be8ce 100644 --- a/drivers/usb/serial/generic.c +++ b/drivers/usb/serial/generic.c @@ -528,7 +528,7 @@ void usb_serial_generic_unthrottle(struct tty_struct *tty) int usb_serial_handle_sysrq_char(struct usb_serial_port *port, unsigned int ch) { - if (port->sysrq) { + if (port->sysrq && port->console) { if (ch && time_before(jiffies, port->sysrq)) { handle_sysrq(ch, tty_port_tty_get(&port->port)); port->sysrq = 0;