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
This commit is contained in:
Chaithanya Garrepalli
2020-06-24 12:18:13 +05:30
committed by nshrivas
parent 5816c50032
commit eb6c7aa478

View File

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