mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Check for valid FILS info before referencing
Check if the FILS info is populated before deferencing the value for the same. Change-Id: Iabc7d11c4033c92a4047d29da915415cf5ca1167 CRs-Fixed: 2162242
This commit is contained in:
parent
ee2bbf2946
commit
ab628711da
1 changed files with 4 additions and 0 deletions
|
|
@ -1849,6 +1849,10 @@ void lim_update_fils_rik(tpPESession pe_session,
|
|||
return;
|
||||
}
|
||||
|
||||
if (!pe_fils_info) {
|
||||
pe_debug("No FILS info available in the session");
|
||||
return;
|
||||
}
|
||||
if ((pe_fils_info->fils_rik_len > FILS_MAX_RIK_LENGTH) ||
|
||||
!pe_fils_info->fils_rik) {
|
||||
pe_err("Fils rik len(%d) max %d", pe_fils_info->fils_rik_len,
|
||||
|
|
|
|||
Loading…
Reference in a new issue