No, the don't put up with it, they simply deny it exists, until something happens that makes them take action. Departments, in many cases are all about numbers. They don't care where these numbers come from, just so long as you keep them high, and don't get caught doing something you're not supposed to be doing.
Remember this guy?
https://www.wthr.com/article/westfield-police-officer-charged-in-alleged-shake-down-scheme
Now I won't say that other WPD officers knew he was shaking down Latino motorist, but I KNOW they knew he liked to stop Latinos.
Good that he got caught.