Browse Source

qcacld-3.0: Update vdev id while de-configuring 11k offload

In case of STA+STA to configure 11k for second STA without
assertion, the driver should de-config 11k for currently
enabled STA. Currently, driver de-configures 11k but not updates
corresponding vdev id results vdev id for which roam disable and
11k disable sent to fw could be different. This leads to assert
in fw.

Fix is to update corresponding vdev id also for which driver
de-configures 11k.

Change-Id: I841a0561124cf110096f5326f2d9ba191518d3f2
CRs-Fixed: 2460097
Abhinav Kumar 5 years ago
parent
commit
925a3334ef
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/sme/src/common/sme_api.c

+ 2 - 0
core/sme/src/common/sme_api.c

@@ -6488,7 +6488,9 @@ QDF_STATUS sme_stop_roaming(mac_handle_t mac_handle, uint8_t session_id,
 	else
 		csr_roam_reset_roam_params(mac_ctx);
 
+	/* Disable offload_11k_params for current vdev */
 	req->offload_11k_params.offload_11k_bitmask = 0;
+	req->offload_11k_params.vdev_id = session_id;
 
 	wma_msg.type = WMA_ROAM_SCAN_OFFLOAD_REQ;
 	wma_msg.bodyptr = req;