aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-02-08 05:12:31 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-16 19:01:29 -0500
commit30bced91d93f7523bf23432d71d882d6b5d6cff6 (patch)
tree8f0e493f1223d21cb5cff79ddcc2e95cf2bc1212 /drivers/isdn
parent2c8df72259d550ed6dc0b391feb5c2fc13892fb6 (diff)
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)
351#ifdef _DEBUG_REFCOUNT 351#ifdef _DEBUG_REFCOUNT
352 printk(KERN_DEBUG "reset mp->nccip\n"); 352 printk(KERN_DEBUG "reset mp->nccip\n");
353#endif 353#endif
354 tty_hangup(tty); 354 tty_vhangup(tty);
355 tty_kref_put(tty); 355 tty_kref_put(tty);
356 } 356 }
357 357