Fix reference error in formatWPAConfig