Question. You do know benadryl is for allergies and is extremely drying to the sinuses and mucus membranes right? IF she had an ear infection you would have wanted her goo to be runny and get out, not dry up and fester right?
Usually the docs tell us to give the kids a decongestant with an ear infection to clear the infection out, make it drain out, help it get out so the ear doesn't hurt. The pus getting bigger is what makes the pain in the ear. If it's runny and draining out there is usually very little pain.
That said.
She's 2, she should already be in a toddler bed or in a big kid bed. She can climb out, she's at risk of getting hurt. Put a gate up and let her play. If she gets crying and crying go to her but don't sit and play with her. She's 2, she isn't cognitively grown up enough to understand mommy wants to sleep and she is bothering mommy, keeping mommy awake.
All she thinks is "I'm awake, it's playtime! Why isn't mommy here with me?"
Keeping the house dark might help, I don't know though. My grandson wakes up when he wakes up. He never slept all night until he was well over 2. A lot of kids just don't sleep all night.