summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-06-27 14:54:07 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-07-03 16:08:57 +0200
commit1229dea379b09332d2c4563f0118ae877a783d3f (patch)
tree5b3777089533a1eb9280b31bb5304341d5640812
parenteafe89920db0052ca506924d4595605496b48ef8 (diff)
dms: Retries left info only given on error when setting PIN protection
-rw-r--r--data/qmi-common.json6
-rw-r--r--data/qmi-service-dms.json3
2 files changed, 8 insertions, 1 deletions
diff --git a/data/qmi-common.json b/data/qmi-common.json
index df87f2d..064b4a5 100644
--- a/data/qmi-common.json
+++ b/data/qmi-common.json
@@ -15,5 +15,11 @@
"type" : "prerequisite",
"field" : "Result.Error Status",
"operation" : "==",
+ "value" : "QMI_STATUS_SUCCESS" },
+
+ { "common-ref" : "No Success",
+ "type" : "prerequisite",
+ "field" : "Result.Error Status",
+ "operation" : "!=",
"value" : "QMI_STATUS_SUCCESS" }
]
diff --git a/data/qmi-service-dms.json b/data/qmi-service-dms.json
index 572a08c..a20cdd3 100644
--- a/data/qmi-service-dms.json
+++ b/data/qmi-service-dms.json
@@ -160,5 +160,6 @@
"contents" : [ { "name" : "Verify Retries Left",
"format" : "guint8" },
{ "name" : "Unblock Retries Left",
- "format" : "guint8" } ] } ] }
+ "format" : "guint8" } ],
+ "prerequisites": [ { "common-ref" : "No Success" } ] } ] }
]