aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/i4l/isdn_tty.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c
index 4e5f87c1e714..24679a3f5596 100644
--- a/drivers/isdn/i4l/isdn_tty.c
+++ b/drivers/isdn/i4l/isdn_tty.c
@@ -2645,7 +2645,12 @@ isdn_tty_modem_result(int code, modem_info * info)
2645 if ((info->flags & ISDN_ASYNC_CLOSING) || (!info->tty)) { 2645 if ((info->flags & ISDN_ASYNC_CLOSING) || (!info->tty)) {
2646 return; 2646 return;
2647 } 2647 }
2648#ifdef CONFIG_ISDN_AUDIO
2649 if ( !info->vonline )
2650 tty_ldisc_flush(info->tty);
2651#else
2648 tty_ldisc_flush(info->tty); 2652 tty_ldisc_flush(info->tty);
2653#endif
2649 if ((info->flags & ISDN_ASYNC_CHECK_CD) && 2654 if ((info->flags & ISDN_ASYNC_CHECK_CD) &&
2650 (!((info->flags & ISDN_ASYNC_CALLOUT_ACTIVE) && 2655 (!((info->flags & ISDN_ASYNC_CALLOUT_ACTIVE) &&
2651 (info->flags & ISDN_ASYNC_CALLOUT_NOHUP)))) { 2656 (info->flags & ISDN_ASYNC_CALLOUT_NOHUP)))) {