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
This commit is contained in:
Shaun Ruffell 2011-04-04 16:24:39 +00:00
parent 50f51ee459
commit 6d3a7e6f71

View File

@ -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);