scan: Clean up code a bit - phase1 is used in all WPS cases