From 41d0231b87728333c6a48068fbf705b1095a44cd Mon Sep 17 00:00:00 2001 From: Houston Hoffman Date: Fri, 1 Apr 2016 13:06:57 -0700 Subject: [PATCH] qcacmn: Don't clear the interupt status when rx_pending If there is rx pending, the per_engine_service caller should not reenable interrupts. If the caller does propper interrupt mitigation, it will not enable interrupts, and the register write is wasted. If the caller does not do interrupt mitigation, leaving the interupt status will prevent stuck packets. Change-Id: I7a6315d3f0f3ade1b2d51ce15fab931a4864e643 CRs-Fixed: 998319 --- hif/src/ce/ce_service.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hif/src/ce/ce_service.c b/hif/src/ce/ce_service.c index c5028d8b1308..6557df4b7294 100644 --- a/hif/src/ce/ce_service.c +++ b/hif/src/ce/ce_service.c @@ -1584,8 +1584,6 @@ more_completions: */ if (qdf_unlikely(CE_state->force_break)) { qdf_atomic_set(&CE_state->rx_pending, 1); - CE_ENGINE_INT_STATUS_CLEAR(scn, ctrl_addr, - HOST_IS_COPY_COMPLETE_MASK); if (Q_TARGET_ACCESS_END(scn) < 0) HIF_ERROR("<--[premature rc=%d]\n", CE_state->receive_count);