Whether or not the cops were aware of Garners health problems are irrelevant. The cop knew the choke hold he used was illegal. Its illegal for a reason... Its becuase it's inhuman, harmful and evedentually results in peoples deaths...
It was banned. This is not the same thing as being illegal but it can be fatal if used improperly and for an extended period of time.