Преглед изворни кода

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
Visweswara Tanuku пре 7 година
родитељ
комит
02e40d282a
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      core/wma/src/wma_data.c

+ 1 - 0
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;
 }