mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Free memory allocated for WMI_SERVICE_READY_EVENTID
Free memory allocated for WMI_SERVICE_READY_EVENTID in wma_close.
Change-Id: I1788fdbcdda9488ef8ad9fe511a7f1b06e250159
CRs-Fixed: 2381818
This commit is contained in:
parent
bcadecf5b2
commit
351b7c9b7b
1 changed files with 4 additions and 0 deletions
|
|
@ -93,6 +93,7 @@
|
|||
#include "wlan_mlme_api.h"
|
||||
#include "wlan_mlme_ucfg_api.h"
|
||||
#include "cfg_ucfg_api.h"
|
||||
#include "init_cmd_api.h"
|
||||
|
||||
#define WMA_LOG_COMPLETION_TIMER 3000 /* 3 seconds */
|
||||
#define WMI_TLV_HEADROOM 128
|
||||
|
|
@ -4744,6 +4745,7 @@ QDF_STATUS wma_wmi_work_close(void)
|
|||
QDF_STATUS wma_close(void)
|
||||
{
|
||||
tp_wma_handle wma_handle;
|
||||
struct target_psoc_info *tgt_psoc_info;
|
||||
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
|
||||
|
||||
WMA_LOGD("%s: Enter", __func__);
|
||||
|
|
@ -4826,6 +4828,8 @@ QDF_STATUS wma_close(void)
|
|||
pmo_unregister_pause_bitmap_notifier(wma_handle->psoc);
|
||||
pmo_unregister_get_vdev_dp_handle(wma_handle->psoc);
|
||||
|
||||
tgt_psoc_info = wlan_psoc_get_tgt_if_handle(wma_handle->psoc);
|
||||
init_deinit_free_num_units(wma_handle->psoc, tgt_psoc_info);
|
||||
target_if_free_psoc_tgt_info(wma_handle->psoc);
|
||||
|
||||
wlan_objmgr_psoc_release_ref(wma_handle->psoc, WLAN_LEGACY_WMA_ID);
|
||||
|
|
|
|||
Loading…
Reference in a new issue