Improvement for #2701

This commit is contained in:
Ylian Saint-Hilaire 2021-05-30 10:11:40 -07:00
parent 9a60fffad2
commit 3478abc6b0
1 changed files with 6 additions and 1 deletions

View File

@ -1394,7 +1394,12 @@ module.exports.CreateAmtManager = function (parent) {
return;
}
if ((responses['AMT_UserInitiatedConnectionService'] == null) || (responses['AMT_UserInitiatedConnectionService'].response == null)) { dev.consoleMsg("Invalid CIRA state."); removeAmtDevice(dev, 30); return; }
// Check if CIRA is supported
if ((responses['AMT_UserInitiatedConnectionService'] == null) || (responses['AMT_UserInitiatedConnectionService'].response == null)) {
dev.consoleMsg("This device does not support CIRA.");
devTaskCompleted(dev);
return;
}
dev.cira = {};
dev.cira.xxRemoteAccess = responses;