|
@@ -2394,7 +2394,8 @@ lim_send_auth_mgmt_frame(struct mac_context *mac_ctx,
|
|
}
|
|
}
|
|
|
|
|
|
/* include MDIE in FILS authentication frame */
|
|
/* include MDIE in FILS authentication frame */
|
|
- if (session->pLimJoinReq->is11Rconnection &&
|
|
|
|
|
|
+ if (session->pLimJoinReq &&
|
|
|
|
+ session->pLimJoinReq->is11Rconnection &&
|
|
auth_frame->authAlgoNumber == SIR_FILS_SK_WITHOUT_PFS &&
|
|
auth_frame->authAlgoNumber == SIR_FILS_SK_WITHOUT_PFS &&
|
|
session->pLimJoinReq->bssDescription.mdiePresent)
|
|
session->pLimJoinReq->bssDescription.mdiePresent)
|
|
frame_len += (2 + SIR_MDIE_SIZE);
|
|
frame_len += (2 + SIR_MDIE_SIZE);
|