diff --git a/hif/src/ce/ce_main.c b/hif/src/ce/ce_main.c index 1f5201d742..6f4000427c 100644 --- a/hif/src/ce/ce_main.c +++ b/hif/src/ce/ce_main.c @@ -1808,8 +1808,10 @@ void hif_send_buffer_cleanup_on_pipe(struct HIF_CE_pipe_info *pipe_info) return; /* Indicate the completion to higher * layer to free the buffer */ - hif_state->msg_callbacks_current. - txCompletionHandler(hif_state-> + if (hif_state->msg_callbacks_current. + txCompletionHandler) + hif_state->msg_callbacks_current. + txCompletionHandler(hif_state-> msg_callbacks_current.Context, netbuf, id, toeplitz_hash_result); }