I may not know just what went on in him getting fired from the LAPD, but by virtue of his actions after the fact, it is very clear it was the correct decision whether or not it was “fair” to him at the time. He has more than demonstrated he shouldn’t have been a cop in the first place if this is how he deals with injustice.
Its not like he couldn’t go to the next town over an get a cop job.