summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi/capi.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-02-08 11:12:31 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-17 01:01:29 +0100
commit30bced91d93f7523bf23432d71d882d6b5d6cff6 (patch)
tree8f0e493f1223d21cb5cff79ddcc2e95cf2bc1212 /drivers/isdn/capi/capi.c
parentCAPI: Drop remaining NULL checks on tty->driver_data (diff)
downloadlinux-30bced91d93f7523bf23432d71d882d6b5d6cff6.tar.xz
linux-30bced91d93f7523bf23432d71d882d6b5d6cff6.zip
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/capi/capi.c')
-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);
}