Improvement for #2701
Ylian Saint-Hilaire committed
May 30, 2021 at 10:11 UTC
3478abc6b030d756320bd06e9aa9fc9fae266b0c
1 file changed
+6
-1
amtmanager.js
+6
-1
@@ -1394,7 +1394,12 @@ module.exports.CreateAmtManager = function (parent) {
1394
return;
1395
}
1396
1397
- if ((responses['AMT_UserInitiatedConnectionService'] == null) || (responses['AMT_UserInitiatedConnectionService'].response == null)) { dev.consoleMsg("Invalid CIRA state."); removeAmtDevice(dev, 30); return; }
1397
+ // Check if CIRA is supported
1398
+ if ((responses['AMT_UserInitiatedConnectionService'] == null) || (responses['AMT_UserInitiatedConnectionService'].response == null)) {
1399
+ dev.consoleMsg("This device does not support CIRA.");
1400
+ devTaskCompleted(dev);
1401
+ return;
1402
+ }
1403
1404
dev.cira = {};
1405
dev.cira.xxRemoteAccess = responses;