mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 12:24:07 -05:00
qcacmn: Fix PMF check
Currently driver assigns WLAN_PMF_REQUIRED to AP pmf capability even if rsn capability do not matches with RSN_CAP_MFP_REQUIRED. Add check for rsn capability against RSN_CAP_MFP_REQUIRED to fix this issue. Change-Id: Iff51090c9a65fd7c0d45048b73c5383d56bb13a5 CRs-Fixed: 2146881
This commit is contained in:
parent
b5088bf0b8
commit
bc6003b78f
1 changed files with 1 additions and 1 deletions
|
|
@ -471,7 +471,7 @@ scm_check_pmf_match(struct scan_filter *filter,
|
|||
|
||||
if (rsn->cap & RSN_CAP_MFP_CAPABLE)
|
||||
ap_pmf_cap = WLAN_PMF_CAPABLE;
|
||||
if (rsn->cap & RSN_CAP_MFP_CAPABLE)
|
||||
if (rsn->cap & RSN_CAP_MFP_REQUIRED)
|
||||
ap_pmf_cap = WLAN_PMF_REQUIRED;
|
||||
|
||||
if ((filter->pmf_cap == WLAN_PMF_REQUIRED) &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue