From eb6c7aa4783585bb4563b37f515fd3302d7fc4ce Mon Sep 17 00:00:00 2001 From: Chaithanya Garrepalli Date: Wed, 24 Jun 2020 12:18:13 +0530 Subject: [PATCH] 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 --- dp/wifi3.0/dp_peer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dp/wifi3.0/dp_peer.c b/dp/wifi3.0/dp_peer.c index 91db7bf1c6..c9fbadb195 100644 --- a/dp/wifi3.0/dp_peer.c +++ b/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); } }