mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
qcacld-3.0: Use IE length to determine if that IE is present
Propagate from qcacld-2.0 to qcacld-3.0 In limPerformFTPreAuth(), ft_ies pointer itself is used to determine whether FT IE is present which is incorrect way to determine. Use ft_ies_length instead to determine whether FT IE is present. Change-Id: I36329de0ae41c03383f193b43eea214aed2770ca CRs-Fixed: 979671
This commit is contained in:
parent
6af26a3a3f
commit
c3ed865420
1 changed files with 2 additions and 1 deletions
|
|
@ -237,7 +237,8 @@ void lim_perform_ft_pre_auth(tpAniSirGlobal pMac, QDF_STATUS status,
|
|||
if (psessionEntry->is11Rconnection &&
|
||||
psessionEntry->ftPEContext.pFTPreAuthReq) {
|
||||
/* Only 11r assoc has FT IEs */
|
||||
if (psessionEntry->ftPEContext.pFTPreAuthReq->ft_ies == NULL) {
|
||||
if (psessionEntry->ftPEContext.pFTPreAuthReq->ft_ies_length
|
||||
== 0) {
|
||||
lim_log(pMac, LOGE,
|
||||
FL("FTIEs for Auth Req Seq 1 is absent"));
|
||||
goto preauth_fail;
|
||||
|
|
|
|||
Loading…
Reference in a new issue