Microbiology

A mother brought her daughter with complaints of diarrhea. Lab investigations revealed Giardia lamblia. She had the same complaint before few weeks and was treated. She also had history of getting recurrent chest infections. This girl may have: