unify handling of multiple SSIDs