summaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-02-08 10:12:31 +0000
committerDavid S. Miller <davem@davemloft.net>2010-02-16 16:01:29 -0800
commit30bced91d93f7523bf23432d71d882d6b5d6cff6 (patch)
tree8f0e493f1223d21cb5cff79ddcc2e95cf2bc1212 /drivers/isdn
parent2c8df72259d550ed6dc0b391feb5c2fc13892fb6 (diff)
downloadlinux-30bced91d93f7523bf23432d71d882d6b5d6cff6.tar.bz2
CAPI: Issue synchronous hangup on capincci_free_minor
capincci_free and, thus, capincci_free_minor runs in process context, so we can issue the hangup of the associated TTY synchronously. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/capi/capi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c
index acc811bfe8e0..b382edeeee18 100644
--- a/drivers/isdn/capi/capi.c
+++ b/drivers/isdn/capi/capi.c
@@ -351,7 +351,7 @@ static void capincci_free_minor(struct capincci *np)
#ifdef _DEBUG_REFCOUNT
printk(KERN_DEBUG "reset mp->nccip\n");
#endif
- tty_hangup(tty);
+ tty_vhangup(tty);
tty_kref_put(tty);
}