mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacld-3.0: Consider both peer and Self Capabilities for PMF
Set PMF enabled bit for Association Frame only when both peer and self supports it. Change-Id: I11994da4db87e6a83b7ebe308720c45a9e2f0173 CRs-Fixed: 2686114
This commit is contained in:
parent
a8483f869d
commit
26b28f5e20
1 changed files with 4 additions and 1 deletions
|
|
@ -852,8 +852,11 @@ enum mac_status_code lim_check_rsn_ie(struct pe_session *session,
|
|||
pe_err("vdev is NULL");
|
||||
return eSIR_MAC_UNSPEC_FAILURE_STATUS;
|
||||
}
|
||||
if ((peer_crypto_params.rsn_caps &
|
||||
WLAN_CRYPTO_RSN_CAP_MFP_ENABLED) &&
|
||||
wlan_crypto_vdev_is_pmf_enabled(vdev))
|
||||
*pmf_connection = true;
|
||||
|
||||
*pmf_connection = wlan_crypto_vdev_is_pmf_enabled(vdev);
|
||||
wlan_objmgr_vdev_release_ref(vdev, WLAN_LEGACY_MAC_ID);
|
||||
return lim_check_crypto_param(assoc_req, &peer_crypto_params);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue