Skip to content

Commit

Permalink
Improvement for Ylianst#2701
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylianst committed May 30, 2021
1 parent 9a60fff commit 3478abc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion amtmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3478abc

Please sign in to comment.