mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacld-3.0: Fix vdev leak in csr_roam_issue_set_context_req_helper
In csr_roam_issue_set_context_req_helper, reference of vdev is not released after get. Change-Id: I686cd6a8dfd7e7889ef8e9ac3a4c6eb6be217f6e CRs-Fixed: 2424885
This commit is contained in:
parent
a47b45f94f
commit
6de8633393
1 changed files with 3 additions and 0 deletions
|
|
@ -9999,6 +9999,9 @@ QDF_STATUS csr_roam_issue_set_context_req_helper(
|
|||
if (cipher == WLAN_CRYPTO_CIPHER_FILS_AEAD)
|
||||
csr_roam_store_fils_key(vdev, unicast, key_id, key_length,
|
||||
key, bssid);
|
||||
|
||||
wlan_objmgr_vdev_release_ref(vdev, WLAN_LEGACY_MAC_ID);
|
||||
|
||||
return csr_roam_issue_set_context_req(mac_ctx, session_id, addkey,
|
||||
unicast, key_id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue