diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 11:12:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 01:01:29 +0100 |
commit | 30bced91d93f7523bf23432d71d882d6b5d6cff6 (patch) | |
tree | 8f0e493f1223d21cb5cff79ddcc2e95cf2bc1212 /drivers/isdn/capi/capi.c | |
parent | CAPI: Drop remaining NULL checks on tty->driver_data (diff) | |
download | linux-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.c | 2 |
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); } |