summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-04-04 16:24:39 +0000
committerShaun Ruffell <sruffell@digium.com>2011-04-04 16:24:39 +0000
commita29aa552a505a421e129e7024387379ec87477c2 (patch)
tree212e4d2ef345c46efff6fa4c2dcb352763fb1046
parent475a6a052ec9fbe633d5715e1d42b604467dbba4 (diff)
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 <sruffell@digium.com> Acked-by: Michael Spiceland <mspiceland@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9878 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/dahdi-base.c8
1 files changed, 4 insertions, 4 deletions
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);