From a747d4cdb8d80a50a9c8a6ec2075b20b89b9607c Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Fri, 19 Jun 2020 00:33:23 +0530 Subject: [PATCH] qcacld-3.0: Handle multiple oem data events for single command FW can send multiple events for a single oem data command based on the size of the data to be send and the available buffer size. Currenlty sme callback in the oem data event handler wma_oem_event_handler is set to null after it process the event because of which next events for the same command are not processed. To address this issue do not make the sme callback as null in the wma oem event handler. CRs-Fixed: 2714680 Change-Id: Ia435a5bee7ed4d2e16313698052033f8b45a5873 --- core/wma/src/wma_utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/wma/src/wma_utils.c b/core/wma/src/wma_utils.c index 047071923069..6260504597f3 100644 --- a/core/wma/src/wma_utils.c +++ b/core/wma/src/wma_utils.c @@ -4946,7 +4946,6 @@ int wma_oem_event_handler(void *wma_ctx, uint8_t *event_buff, uint32_t len) oem_event_data.data = param_buf->data; pmac->sme.oem_data_event_handler_cb(&oem_event_data, pmac->sme.oem_data_vdev_id); - pmac->sme.oem_data_event_handler_cb = NULL; return QDF_STATUS_SUCCESS; }