From 049347e3f6f1c7f617a6b3f40b7bb6f1fc139ed1 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 4 Apr 2011 16:24:39 +0000 Subject: dahdi: Do not enable interrupts before processing entire span. Fixes regression introduced in r9603 where if a channel was "dacs" with another interrupts would be reenabled prematurely. Signed-off-by: Shaun Ruffell Acked-by: Michael Spiceland Acked-by: Kinsey Moore git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9878 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/dahdi-base.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/dahdi/dahdi-base.c') diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 218f87f..412101e 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -8736,10 +8736,10 @@ int dahdi_transmit(struct dahdi_span *span) span->ops->rbsbits(chan, src->rxsig); } } - /* there is no further processing to do for DACS channels, so - * jump to the next channel in the span - */ - spin_unlock_irqrestore(&chan->lock, flags); + /* there is no further processing to do for + * DACS channels, so jump to the next channel + * in the span */ + spin_unlock(&chan->lock); continue; } else if (chan->nextslave) { __transmit_to_slaves(chan); -- cgit v1.2.3