diff --git a/core/sme/src/common/sme_ft_api.c b/core/sme/src/common/sme_ft_api.c index f0e7b427a1dc3..82e85bcb51b68 100644 --- a/core/sme/src/common/sme_ft_api.c +++ b/core/sme/src/common/sme_ft_api.c @@ -195,6 +195,9 @@ void sme_set_ft_ies(tHalHandle hal_ptr, uint32_t session_id, * reassoc req. This is the new FT Roaming in place At * this juncture we'r ready to start sending Reassoc req */ + + ft_ies_length = QDF_MIN(ft_ies_length, MAX_FTIE_SIZE); + sme_debug("New Reassoc Req: %pK in state %d", ft_ies, session->ftSmeContext.FTState); if ((session->ftSmeContext.reassoc_ft_ies) &&