mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
qcacld-3.0: Free HE op element memory for change interface
Currently host driver does not free the memory for HE operation from cache connection info when it receives change interface from STA to SAP mode which results in mem leak. To address above issue, free HE operation element memory on STA to SAP interface change. Change-Id: I837640814459a62d819e606fc44adc9bfc60fe5c CRs-Fixed: 3045848
This commit is contained in:
parent
f16f18986f
commit
48d936e8dc
1 changed files with 3 additions and 0 deletions
|
|
@ -18339,6 +18339,9 @@ static int __wlan_hdd_cfg80211_change_iface(struct wiphy *wiphy,
|
|||
policy_mgr_clear_concurrency_mode(hdd_ctx->psoc, adapter->device_mode);
|
||||
|
||||
if (hdd_is_client_mode(adapter->device_mode)) {
|
||||
if (adapter->device_mode == QDF_STA_MODE)
|
||||
hdd_cleanup_conn_info(adapter);
|
||||
|
||||
if (hdd_is_client_mode(new_mode)) {
|
||||
errno = hdd_change_adapter_mode(adapter, new_mode);
|
||||
if (errno) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue