I've found, in my career, that the majority of female "duds" are present primarily because they've been catered to because of their gender.

Good female soldiers are good soldiers. Bad female soldiers tend to get a pass from superiors, because the superior is afraid to discipline the female soldier, and have the wrath of God visited upon him/her-self via the EO chain. As to whether females infantrymen can hack it, physically, I think it would take a special female soldier to do the job. As far as unit dynamics are concerned, female soldiers bring a unique challenge, but it isn't all bad. Female soldiers and leaders tend to have a unique view on things that can be good for a unit.

Just like with any soldier, it's a matter of leadership.