The smell is most likely an infection starting. Check his ear leather to see if it is red and warm. Dogs with ear infections get stinky ears. It's usually a yeast infection caused by what bchgirl said...a buildup of hair and wax inside the ear. The ear can be tender when it is infected, so if your pup won't let you touch it or handle it you'll have to go to the vet for drops. Otherwise get some powder and pluck out the hair and some ear cleanse