mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "qcacld-3.0: Fix a memory leak in hdd_assoc handler" into wlan-cld3.driver.lnx.2.0
This commit is contained in:
commit
c2149cac94
1 changed files with 4 additions and 4 deletions
|
|
@ -2787,6 +2787,10 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
|
|||
eCSR_DISCONNECT_REASON_UNSPECIFIED);
|
||||
}
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
} else {
|
||||
cfg80211_put_bss(
|
||||
hdd_ctx->wiphy,
|
||||
bss);
|
||||
}
|
||||
if (roam_info->u.pConnectedProfile->AuthType ==
|
||||
eCSR_AUTH_TYPE_FT_RSN
|
||||
|
|
@ -3003,10 +3007,6 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
|
|||
}
|
||||
}
|
||||
if (!hddDisconInProgress) {
|
||||
cfg80211_put_bss(
|
||||
hdd_ctx->wiphy,
|
||||
bss);
|
||||
|
||||
/*
|
||||
* Perform any WMM-related association
|
||||
* processing.
|
||||
|
|
|
|||
Loading…
Reference in a new issue