Browse Source

qcacmn: MBSSID profile count

Profile count information not sent to firmware
when DUT associated to TX BSS.

Populate profile count for TX BSS profile.

CRs-Fixed: 3633267
Change-Id: I08a13fe785dbbf66f7ec3394d7aa72f685438619
Jianmin Zhu 1 năm trước cách đây
mục cha
commit
56b867e257
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      umac/mlme/vdev_mgr/core/src/vdev_mgr_ops.c

+ 6 - 2
umac/mlme/vdev_mgr/core/src/vdev_mgr_ops.c

@@ -707,8 +707,12 @@ static QDF_STATUS vdev_mgr_up_param_update(
 	wlan_vdev_mgr_get_param_bssid(vdev, bssid);
 
 	if (wlan_vdev_mlme_get_opmode(vdev) != QDF_SAP_MODE) {
-		if (qdf_mem_cmp(bssid, mbss->non_trans_bssid,
-				QDF_MAC_ADDR_SIZE))
+		mlme_debug("trans BSSID " QDF_MAC_ADDR_FMT " non-trans BSSID " QDF_MAC_ADDR_FMT " profile_num %d, profile_idx %d",
+			   QDF_MAC_ADDR_REF(mbss->trans_bssid),
+			   QDF_MAC_ADDR_REF(mbss->non_trans_bssid),
+			  mbss->profile_idx, mbss->profile_num);
+		if ((qdf_mem_cmp(bssid, mbss->trans_bssid, QDF_MAC_ADDR_SIZE)) &&
+		    (qdf_mem_cmp(bssid, mbss->non_trans_bssid, QDF_MAC_ADDR_SIZE)))
 			return QDF_STATUS_SUCCESS;
 	}