diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 10:12:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 16:01:29 -0800 |
commit | 30bced91d93f7523bf23432d71d882d6b5d6cff6 (patch) | |
tree | 8f0e493f1223d21cb5cff79ddcc2e95cf2bc1212 /drivers/isdn | |
parent | 2c8df72259d550ed6dc0b391feb5c2fc13892fb6 (diff) | |
download | linux-3.10-30bced91d93f7523bf23432d71d882d6b5d6cff6.tar.gz linux-3.10-30bced91d93f7523bf23432d71d882d6b5d6cff6.tar.bz2 linux-3.10-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')
-rw-r--r-- | drivers/isdn/capi/capi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index acc811bfe8e..b382edeeee1 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); } |