From 3478abc6b030d756320bd06e9aa9fc9fae266b0c Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 30 May 2021 10:11:40 -0700 Subject: [PATCH] Improvement for #2701 --- amtmanager.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/amtmanager.js b/amtmanager.js index 3ec8e414..58ab7e7a 100644 --- a/amtmanager.js +++ b/amtmanager.js @@ -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;