소스 검색

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 년 전
부모
커밋
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,