I'd get another pediatrician who knows more about ear infections. Look for a Doctor of Naturopathy.
Diet has a lot to do with infections. For now, no dairy or citrus - no wheat, eggs, peanut butter and corn -no sugar or artificial colors/flavor - no junk food. All are inflammatory. Lots of liquids - water and vegetables plus low glycemic fruit - berries! Soups and smoothies (low sugar.
Go to a natural food store and ask for an herbal oil that is good for ear infections. A few warm drops in the ear will sooth and help the healing. Buy the book, Smart Medicine for a Healthier Child written by my friend, Dr. Janet Zand. This book will become your best friend.
I think Nutrition S'Mart is near you. Ask for Armando - he's a really good nutritionist.
Ear infections are so painful. It's tough. Email or call me if you want more support.
... for the health of your family,