Browse Source

qcacmn: Set MLO cap bit for subsequent links

When sending the connect for subsequent links in MLO, make sure to set
the capability bit, otherwise it will be marked as assoc link.

Change-Id: Ic0145b40e84ea440ea389200356d1f916a1ba530
CRs-fixed: 3055892
Lincoln Tran 3 years ago
parent
commit
3cbefea6d0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

+ 2 - 0
umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

@@ -413,6 +413,8 @@ mlo_send_link_connect(struct wlan_objmgr_vdev *vdev,
 		if (!mlo_dev_ctx->wlan_vdev_list[i] ||
 		    (mlo_dev_ctx->wlan_vdev_list[i] == vdev))
 			continue;
+		wlan_vdev_mlme_feat_ext2_cap_set(mlo_dev_ctx->wlan_vdev_list[i],
+						 WLAN_VDEV_FEXT2_MLO);
 		wlan_vdev_mlme_feat_ext2_cap_set(mlo_dev_ctx->wlan_vdev_list[i],
 						 WLAN_VDEV_FEXT2_MLO_STA_LINK);
 		mlo_prepare_and_send_connect(