瀏覽代碼

Merge "qca-wifi: Reset unassoc entries for every cfr_pdev_open"

Linux Build Service Account 5 年之前
父節點
當前提交
b5fd4c3e70
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      target_if/cfr/src/target_if_cfr.c

+ 4 - 0
target_if/cfr/src/target_if_cfr.c

@@ -177,6 +177,10 @@ int target_if_cfr_init_pdev(struct wlan_objmgr_psoc *psoc,
 	if (pa == NULL)
 		return QDF_STATUS_E_FAILURE;
 
+	/* Reset unassociated entries for every init */
+	qdf_mem_zero(&pa->unassoc_pool[0], MAX_CFR_ENABLED_CLIENTS *
+		     sizeof(struct unassoc_pool_entry));
+
 	cfr_sc = wlan_objmgr_psoc_get_comp_private_obj(psoc,
 						       WLAN_UMAC_COMP_CFR);