Răsfoiți Sursa

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 ani în urmă
părinte
comite
eb6c7aa478
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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);
 			}
 		}