qcacld-3.0: Move recieve count to CE_state

Removing references to global data in the processing of
copy engine interupts.

Change-Id: I1ecc2ee67526498a56680870969ec529f0ac6e95
CRs-Fixed: 941355
diff --git a/core/hif/src/ce/ce_service.c b/core/hif/src/ce/ce_service.c
index 6bf9e61..3ed402b 100644
--- a/core/hif/src/ce/ce_service.c
+++ b/core/hif/src/ce/ce_service.c
@@ -1181,7 +1181,7 @@
 	/* Clear force_break flag and re-initialize receive_count to 0 */
 
 	/* NAPI: scn variables- thread/multi-processing safety? */
-	scn->receive_count = 0;
+	CE_state->receive_count = 0;
 	CE_state->force_break = 0;
 more_completions:
 	if (CE_state->recv_cb) {
@@ -1221,8 +1221,8 @@
 					HOST_IS_COPY_COMPLETE_MASK);
 				if (Q_TARGET_ACCESS_END(scn) < 0)
 					HIF_ERROR("<--[premature rc=%d]\n",
-						  scn->receive_count);
-				return scn->receive_count;
+						  CE_state->receive_count);
+				return CE_state->receive_count;
 			}
 			cdf_spin_lock(&scn->target_lock);
 		}
@@ -1360,8 +1360,8 @@
 	cdf_atomic_set(&CE_state->rx_pending, 0);
 
 	if (Q_TARGET_ACCESS_END(scn) < 0)
-		HIF_ERROR("<--[premature rc=%d]\n", scn->receive_count);
-	return scn->receive_count;
+		HIF_ERROR("<--[premature rc=%d]\n", CE_state->receive_count);
+	return CE_state->receive_count;
 }
 
 /*