cut ssid to the maximum presave devicename and offline-tag