The conditions to maintain the Hardy-Weinberg equilibrium are no mutation, no gene flow, large population size, random mating and no natural selection.
The Hardy-Weinberg equilibrium states that allele and genotype frequencies in a population will remains constant from generation to generations in the absence of other evolutionary influences.