A motion to quash, by itself, does not stop the deposition. You will have to get the hearing advanced to a date before the deposition date.