Browse Source

qcacld-3.0: Do not reduce NSS for AP with vendor_4_OUI IE

NSS is reduced to 1 even though AP beacons or probe
responses contain vendor_4_OUI. The return value of
function csr_check_vendor_ap_3_present, which checks
for the presence of vendor_4_OUI, is true instead of
false due to incorrect IE data sent to this function.

Fix is to send appropriate IEs to csr_check_vendor_ap_3_present

Change-Id: Iea9ad4aae017df6972fdbe26d49bbda460d58dba
CRs-Fixed: 2401932
Yeshwanth Sriram Guntuka 6 years ago
parent
commit
81b17d5f1c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      core/sme/src/csr/csr_api_roam.c

+ 3 - 1
core/sme/src/csr/csr_api_roam.c

@@ -14602,7 +14602,9 @@ QDF_STATUS csr_send_join_req_msg(struct mac_context *mac, uint32_t sessionId,
 
 		if (is_vendor_ap_present) {
 			is_vendor_ap_present = csr_check_vendor_ap_3_present(
-						mac, (uint8_t *)pIes, ieLen);
+						mac,
+						vendor_ap_search_attr.ie_data,
+						ieLen);
 		}
 
 		/*