On the control of shock-induced boundary-layer separation with discrete air