diff options
Diffstat (limited to 'sys/i386/isa/rc.c')
-rw-r--r-- | sys/i386/isa/rc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/i386/isa/rc.c b/sys/i386/isa/rc.c index 2779bbf..784527f 100644 --- a/sys/i386/isa/rc.c +++ b/sys/i386/isa/rc.c @@ -1476,12 +1476,7 @@ disc_optim(tp, t, rc) tp->t_state |= TS_CAN_BYPASS_L_RINT; else tp->t_state &= ~TS_CAN_BYPASS_L_RINT; - if (tp->t_line == SLIPDISC) - rc->rc_hotchar = 0xc0; - else if (tp->t_line == PPPDISC) - rc->rc_hotchar = 0x7e; - else - rc->rc_hotchar = 0; + rc->rc_hotchar = linesw[tp->t_line].l_hotchar; } static void |