浏览代码

qcacld-3.0: Don't allow update peer command if peer not found

Do not allow tdls peer update command if tdls peer is not
found in lim. If peer assoc command is given to FW
without peer create, FW will assert.

Remove tdls peers in tdls component in case of roaming as
peers are deleted in lim as part of roaming.

Change-Id: Ie227da682e4d30c9b583881f7e2eaafe91826476
CRs-Fixed: 2441951
Bala Venkatesh 6 年之前
父节点
当前提交
c7ba0c6c32
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tdls/core/src/wlan_tdls_cmds_process.c

+ 1 - 1
tdls/core/src/wlan_tdls_cmds_process.c

@@ -898,7 +898,7 @@ tdls_activate_update_peer(struct tdls_update_peer_request *req)
 	if (QDF_IS_STATUS_ERROR(status))
 		goto updatersp;
 
-	curr_peer = tdls_get_peer(vdev_obj, mac);
+	curr_peer = tdls_find_peer(vdev_obj, mac);
 	if (!curr_peer) {
 		tdls_err(QDF_MAC_ADDR_STR " not exist. return invalid",
 			 QDF_MAC_ADDR_ARRAY(mac));