浏览代码

qcacld-3.0: Update AID in LFR-3.0 roaming case

In LFR-3.0 roaming case, AID is not updated to the wma iface.
So when CSA happens after roaming, AID received from older AP
before roaming is sent to the firmware. This results in the
device not listening to TIM set with buffered frames for the
device AID

Fill AID of the roamed AP to wma iface

Change-Id: I2082eb3451679e34ea6a128ae9f51634c34d276b
CRs-Fixed: 3532814
Pragaspathi Thilagaraj 1 年之前
父节点
当前提交
5e1d12de02
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      core/wma/src/wma_dev_if.c

+ 3 - 2
core/wma/src/wma_dev_if.c

@@ -5267,16 +5267,17 @@ static void wma_add_sta_req_sta_mode(tp_wma_handle wma, tpAddStaParams params)
 	} else {
 		wma_debug("listen interval offload is not set");
 	}
-	iface->aid = params->assocId;
 	params->nss = iface->nss;
 out:
+	iface->aid = params->assocId;
+
 	/* Do not send add stat resp when peer assoc cnf is enabled */
 	if (peer_assoc_cnf)
 		return;
 
 	params->status = status;
 	wma_debug("vdev_id %d aid %d sta mac " QDF_MAC_ADDR_FMT " status %d",
-		  params->smesessionId, params->assocId,
+		  params->smesessionId, iface->aid,
 		  QDF_MAC_ADDR_REF(params->bssId), params->status);
 
 	/* Don't send a response during roam sync operation */