|
@@ -5558,6 +5558,8 @@ QDF_STATUS wma_process_get_peer_info_req
|
|
|
|
|
|
ret = wmi_unified_cmd_send(wma->wmi_handle, buf, len,
|
|
|
WMI_PEER_INFO_REQ_CMDID);
|
|
|
+ if (ret != QDF_STATUS_SUCCESS)
|
|
|
+ wmi_buf_free(buf);
|
|
|
|
|
|
WMA_LOGE("IBSS get peer info cmd sent len: %d, vdev %d"
|
|
|
" command id: %d, status: %d", len,
|
|
@@ -5649,6 +5651,8 @@ QDF_STATUS wma_process_rmc_enable_ind(tp_wma_handle wma)
|
|
|
|
|
|
ret = wmi_unified_cmd_send(wma->wmi_handle, buf, len,
|
|
|
WMI_RMC_SET_MODE_CMDID);
|
|
|
+ if (ret != QDF_STATUS_SUCCESS)
|
|
|
+ wmi_buf_free(buf);
|
|
|
|
|
|
WMA_LOGE("Enable RMC cmd sent len: %d, vdev %d" " command id: %d,"
|
|
|
" status: %d", len, vdev_id, WMI_RMC_SET_MODE_CMDID, ret);
|
|
@@ -5699,6 +5703,8 @@ QDF_STATUS wma_process_rmc_disable_ind(tp_wma_handle wma)
|
|
|
|
|
|
ret = wmi_unified_cmd_send(wma->wmi_handle, buf, len,
|
|
|
WMI_RMC_SET_MODE_CMDID);
|
|
|
+ if (ret != QDF_STATUS_SUCCESS)
|
|
|
+ wmi_buf_free(buf);
|
|
|
|
|
|
WMA_LOGE("Disable RMC cmd sent len: %d, vdev %d" " command id: %d,"
|
|
|
" status: %d", len, vdev_id, WMI_RMC_SET_MODE_CMDID, ret);
|
|
@@ -5762,6 +5768,8 @@ QDF_STATUS wma_process_rmc_action_period_ind(tp_wma_handle wma)
|
|
|
|
|
|
ret = wmi_unified_cmd_send(wma->wmi_handle, buf, len,
|
|
|
WMI_RMC_SET_ACTION_PERIOD_CMDID);
|
|
|
+ if (ret != QDF_STATUS_SUCCESS)
|
|
|
+ wmi_buf_free(buf);
|
|
|
|
|
|
WMA_LOGE("RMC action period %d cmd sent len: %d, vdev %d"
|
|
|
" command id: %d, status: %d", periodicity_msec,
|