diff options
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r-- | sys/dev/sio/sio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 1dbf3c8..0ecdef7 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -1875,7 +1875,8 @@ siointr1(com) recv_data = 0; } ++com->bytes_in; - if (com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar) + if (com->tp != NULL && + com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar) swi_sched(sio_fast_ih, 0); ioptr = com->iptr; if (ioptr >= com->ibufend) |