qcacld-3.0: Enable all 12 Copy Engines
Facilitates faster data transfers. This provides a basis
to start using the other 4 CEs for additional services.
Only adding structure elements to enable these CEs not
really using them yet.
Change-Id: I4be07413de409195ccc717765c75806a1470941e
CRs-Fixed: 938752
diff --git a/core/hif/src/ce/ce_service.c b/core/hif/src/ce/ce_service.c
index a898d0b..4b6c37b 100644
--- a/core/hif/src/ce/ce_service.c
+++ b/core/hif/src/ce/ce_service.c
@@ -1509,6 +1509,10 @@
{
struct CE_state *CE_state = (struct CE_state *)copyeng;
+ if (CE_state == NULL) {
+ pr_err("%s: Error CE state = NULL\n", __func__);
+ return;
+ }
cdf_spin_lock(&CE_state->scn->target_lock);
CE_state->send_cb = fn_ptr;
CE_state->send_context = ce_send_context;
@@ -1523,6 +1527,10 @@
{
struct CE_state *CE_state = (struct CE_state *)copyeng;
+ if (CE_state == NULL) {
+ pr_err("%s: ERROR CE state = NULL\n", __func__);
+ return;
+ }
cdf_spin_lock(&CE_state->scn->target_lock);
CE_state->recv_cb = fn_ptr;
CE_state->recv_context = CE_recv_context;