mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Call dot11f_unpack_ie_rsn only for RSN IE
In lim_send_mlm_assoc_ind, wpa information may be copied to rsnIEdata.
So before calling dot11f_unpack_ie_rsn for rsnIEdata in the function
csr_roam_chk_lnk_assoc_ind, make sure the element id is RSN IE.
dot11f_unpack_ie_rsn returns failure for rsnIEdata if it contains
WPA information, then WPA connection fails.
Change-Id: I602a47326d452f33ba589a9cc99f59ce443d3162
CRs-Fixed: 2406444
This commit is contained in:
parent
76a3ffe5e0
commit
285b898a04
1 changed files with 2 additions and 1 deletions
|
|
@ -10980,7 +10980,8 @@ csr_roam_chk_lnk_assoc_ind(struct mac_context *mac_ctx, tSirSmeRsp *msg_ptr)
|
|||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
/* Refused due to Mac filtering */
|
||||
roam_info->statusCode = eSIR_SME_ASSOC_REFUSED;
|
||||
} else if (pAssocInd->rsnIE.length) {
|
||||
} else if (pAssocInd->rsnIE.length && SIR_MAC_RSN_EID ==
|
||||
pAssocInd->rsnIE.rsnIEdata[0]) {
|
||||
tDot11fIERSN rsn_ie = {0};
|
||||
|
||||
if (dot11f_unpack_ie_rsn(mac_ctx,
|
||||
|
|
|
|||
Loading…
Reference in a new issue