mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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
This commit is contained in:
parent
e1c4b636dd
commit
02e40d282a
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue