One thing I learned while I went trough some ear problems is that when you treat a dog's ear for a long time with meds it actually messes up the natural fungus balance in a ear
i actually had to use some PH enhancer and the problem was gone in a few days