ソースを参照

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));