Просмотр исходного кода

qcacld-3.0: Fix ML IE present check in assoc rsp parser API

A recent change caused assoc response parser API to return
if MLO IE is present whereas it should return if it's not
present. This caused Host to not parse further capabilities
such as EML and T2LM. This caused host to falsely indicate
that AP did not set the EMLSR support and reset EMLSR
support bit in peer assoc command.
Fix the MLO IE present check to parse EML caps properly
from the assoc response frame.

CRs-Fixed: 3656047
Change-Id: Ia2a9f6ee3d8cc47c03aa05df62c654a11d5daf53
Gururaj Pandurangi 1 год назад
Родитель
Сommit
eeeaa93372
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/mac/src/sys/legacy/src/utils/src/parser_api.c

+ 1 - 1
core/mac/src/sys/legacy/src/utils/src/parser_api.c

@@ -3790,7 +3790,7 @@ sir_convert_assoc_resp_frame2_mlo_struct(struct mac_context *mac,
 	QDF_STATUS status = QDF_STATUS_SUCCESS;
 	struct mlo_partner_info partner_info;
 
-	if (ar->mlo_ie.present)
+	if (!ar->mlo_ie.present)
 		return status;
 
 	status = util_find_mlie(frame + WLAN_ASSOC_RSP_IES_OFFSET,