wctc4xxp: Trivial fix typo that was preventing firmware load.
The interrupt handler was not schedulding the deferred processing routine when there was packets to process. I did not test the actual master branch after editing for checkpatch compliance. Sorry. Signed-off-by: Shaun Ruffell <sruffell@digium.com>
This commit is contained in:
parent
d7c0b0aba1
commit
624f30bbf6
@ -2732,12 +2732,9 @@ DAHDI_IRQ_HANDLER(wctc4xxp_interrupt)
|
|||||||
/* Clear all the pending interrupts. */
|
/* Clear all the pending interrupts. */
|
||||||
__wctc4xxp_setctl(wc, 0x0028, ints);
|
__wctc4xxp_setctl(wc, 0x0028, ints);
|
||||||
|
|
||||||
if (likely(ints & NORMAL_INTERRUPTS)) {
|
|
||||||
|
|
||||||
if (ints & (RX_COMPLETE_INTERRUPT | TIMER_INTERRUPT)) {
|
if (ints & (RX_COMPLETE_INTERRUPT | TIMER_INTERRUPT)) {
|
||||||
packets_to_process = !wctc4xxp_handle_receive_ring(wc);
|
packets_to_process = wctc4xxp_handle_receive_ring(wc) > 0;
|
||||||
service_tx_ring(wc);
|
service_tx_ring(wc);
|
||||||
}
|
|
||||||
|
|
||||||
#if DEFERRED_PROCESSING == WORKQUEUE
|
#if DEFERRED_PROCESSING == WORKQUEUE
|
||||||
if (packets_to_process)
|
if (packets_to_process)
|
||||||
|
Loading…
Reference in New Issue
Block a user