Ver código fonte

qcacmn: Do not reset linkid for bridge vap

Link ID for the bridge vap is set during creation.
However during mlo ap vdev attach, it gets overwritten by 0.

Due to this, during 2.4 GHz link removal using ml-reconfig,
2.4 GHz linkid and bridge vap as primary vaps linkid matches
which leads to full disconnection of the peer.

To fix this, retain previously set linkid for bridge vap.

Change-Id: I28a3da110aa6427ae7024fe173ae04c5a6bebe41
CRs-Fixed: 3592545
Shreedhar Parande 1 ano atrás
pai
commit
0394351f22
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      umac/mlo_mgr/src/wlan_mlo_mgr_ap.c

+ 1 - 1
umac/mlo_mgr/src/wlan_mlo_mgr_ap.c

@@ -49,9 +49,9 @@ bool mlo_ap_vdev_attach(struct wlan_objmgr_vdev *vdev,
 		return false;
 
 	dev_ctx = vdev->mlo_dev_ctx;
-	wlan_vdev_set_link_id(vdev, link_id);
 
 	if (!vdev->vdev_objmgr.mlo_bridge_vdev) {
+		wlan_vdev_set_link_id(vdev, link_id);
 		wlan_vdev_mlme_set_mlo_vdev(vdev);
 
 		/*