Fixed esc-character check, backported from 2.4.0-test5

This commit is contained in:
Armin Schindler 2000-08-05 09:58:26 +00:00
parent d9e55b323a
commit 900701e406
1 changed files with 1 additions and 1 deletions

View File

@ -2646,7 +2646,7 @@ isdn_tty_check_esc(const u_char * p, u_char plus, int count, int *pluscount,
if ((jiffies - *lastplus) < PLUSWAIT2)
*pluscount = 0;
}
if ((*pluscount == 3) && (count = 1))
if ((*pluscount == 3) && (count == 1))
isdn_timer_ctrl(ISDN_TIMER_MODEMPLUS, 1);
if (*pluscount > 3)
*pluscount = 1;