Just use previous type when checking WiFi.