Browse Source

qcacld-3.0: Fix T2LM validation check

During T2LM validation to pick assoc link, only check if
operation mode is station and if t2lm ie is valid.

Change-Id: Id31f83fabd22ae0e434e2720df773f778c7bb448
CRs-Fixed: 3370578
Amruta Kulkarni 2 years ago
parent
commit
16faad0a70
1 changed files with 1 additions and 3 deletions
  1. 1 3
      components/umac/mlme/mlo_mgr/src/wlan_t2lm_api.c

+ 1 - 3
components/umac/mlme/mlo_mgr/src/wlan_t2lm_api.c

@@ -300,10 +300,8 @@ wlan_t2lm_validate_candidate(struct cnx_mgr *cm_ctx,
 		return QDF_STATUS_SUCCESS;
 	}
 
-	if (wlan_vdev_mlme_get_opmode(vdev) == QDF_STA_MODE &&
-	    wlan_vdev_mlme_is_mlo_vdev(vdev) &&
+	if ((wlan_vdev_mlme_get_opmode(vdev) == QDF_STA_MODE) &&
 	    scan_entry->ie_list.t2lm[0]) {
-
 		status = wlan_mlo_parse_bcn_prbresp_t2lm_ie(&t2lm_ctx,
 						scan_entry->ie_list.t2lm[0]);
 		if (QDF_IS_STATUS_ERROR(status))