From 02e40d282a5edf89ed9a16faa3b2ecf3441d0c23 Mon Sep 17 00:00:00 2001 From: Visweswara Tanuku Date: Wed, 11 Apr 2018 11:26:10 +0530 Subject: [PATCH] qcacld-3.0: Do proper cleanup when management frame send failed qcacld-2.0 to qcacld-3.0 propagation When Management frame Tx fails, tx_frm_ota_comp_cb is not set NULL during cleanup, because of which assert is observed since session is not available Set tx_frm_ota_comp_cb NULL when Management frame tx fails Change-Id: I318a6d04cce06955f6751f6f3df746fec50b9434 CRs-Fixed: 2127855 --- core/wma/src/wma_data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/wma/src/wma_data.c b/core/wma/src/wma_data.c index 6cdcb32e2a5b..027783120a41 100644 --- a/core/wma/src/wma_data.c +++ b/core/wma/src/wma_data.c @@ -2828,6 +2828,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen, error: wma_handle->tx_frm_download_comp_cb = NULL; + wma_handle->umac_data_ota_ack_cb = NULL; return QDF_STATUS_E_FAILURE; }