Quellcode durchsuchen

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 vor 3 Jahren
Ursprung
Commit
3cbefea6d0
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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(