Browse Source

qcacld-3.0: Update lim_send_action_frm_tb_ppdu_cfg_flush_cb

Update the return type of
lim_send_action_frm_tb_ppdu_cfg_flush_cb to return QDF_STATUS
to match with scheduler_msg_process_fn_t.

Change-Id: I48e382422f2c970f2f347f1fe716ca974efdd5fb
CRs-fixed: 2698312
Lincoln Tran 5 years ago
parent
commit
d2c51be72a
1 changed files with 4 additions and 2 deletions
  1. 4 2
      core/mac/src/pe/lim/lim_utils.c

+ 4 - 2
core/mac/src/pe/lim/lim_utils.c

@@ -5978,14 +5978,16 @@ void lim_merge_extcap_struct(tDot11fIEExtCap *dst,
  *
  * Flushes the send action frame in HE TB PPDU configuration message.
  *
- * Return: None
+ * Return: QDF_STATUS
  */
-static void lim_send_action_frm_tb_ppdu_cfg_flush_cb(struct scheduler_msg *msg)
+static QDF_STATUS
+lim_send_action_frm_tb_ppdu_cfg_flush_cb(struct scheduler_msg *msg)
 {
 	if (msg->bodyptr) {
 		qdf_mem_free(msg->bodyptr);
 		msg->bodyptr = NULL;
 	}
+	return QDF_STATUS_SUCCESS;
 }
 
 QDF_STATUS lim_send_action_frm_tb_ppdu_cfg(struct mac_context *mac_ctx,