浏览代码

qcacmn: decrement num ast entries in hash clean up

In wifi down path decrement the ast count while force
freeing AST hash table

Change-Id: If98785eada2866c860ad4769fa744ca29d93dfbe
Chaithanya Garrepalli 5 年之前
父节点
当前提交
eb6c7aa478
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      dp/wifi3.0/dp_peer.c

+ 1 - 0
dp/wifi3.0/dp_peer.c

@@ -319,6 +319,7 @@ static void dp_peer_ast_hash_detach(struct dp_soc *soc)
 				TAILQ_REMOVE(&soc->ast_hash.bins[index], ast,
 					     hash_list_elem);
 				dp_peer_ast_cleanup(soc, ast);
+				soc->num_ast_entries--;
 				qdf_mem_free(ast);
 			}
 		}