瀏覽代碼

qcacld-3.0: Remove self reassoc code in LFR2

On reception of reassoc req from user space to the
connected AP, wlan driver proceeds with reassociation
without clearing the keys. This leads to encrypted EAPOL
frames in LFR2. To avoid this, trigger disconnect & delete
keys before proceeding with reassociation.

Change-Id: Ib287b5d43ae69a7696a28f0e59347c7376d581c3
CRs-Fixed: 3505422
Gangadhar Kavalastramath 2 年之前
父節點
當前提交
c62db467f7
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      components/umac/mlme/connection_mgr/core/src/wlan_cm_host_util.c

+ 1 - 6
components/umac/mlme/connection_mgr/core/src/wlan_cm_host_util.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -205,11 +205,6 @@ cm_handle_reassoc_req(struct wlan_objmgr_vdev *vdev,
 			   req->bss->entry->neg_sec_info.key_mgmt,
 			   req->bss->entry->channel.chan_freq);
 
-	/* decrement count for self reassoc */
-	if (req->self_reassoc)
-		policy_mgr_decr_session_set_pcl(psoc,
-						wlan_vdev_mlme_get_opmode(vdev),
-						req->vdev_id);
 	msg.bodyptr = join_req;
 	msg.type = CM_REASSOC_REQ;
 	msg.flush_callback = cm_flush_join_req;