- // get the path for the SSID file. Don't call getFile unless the file exists (avoids exception overhead)
- string idFilePath = path (lastSSIDFile);
- struct stat st;
- if (stat (idFilePath.c_str (), &st) == -1) {
- mLastSubservice = 1;
- } else {
- mLastSubservice = getFile(idFilePath, 1);
- }