summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/4a-hal-utilities/4a-hal-utilities-data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/4a-hal-utilities/4a-hal-utilities-data.c b/lib/4a-hal-utilities/4a-hal-utilities-data.c
index ea92b0e..888516f 100644
--- a/lib/4a-hal-utilities/4a-hal-utilities-data.c
+++ b/lib/4a-hal-utilities/4a-hal-utilities-data.c
@@ -487,8 +487,9 @@ json_object *HalUtlGetCompactJsonForSpecificDependencies(afb_api_t apiHandle,
cardNb = requestedProbedDevice->deviceData->extendedCardNb;
wrapRet = wrap_json_pack(&requestedProbedDeviceJ,
- "{s:s s:s}",
+ "{s:s, s:b, s:s}",
"uid", requestedProbedDevice->uid,
+ "available", cardNb ? 1 : 0,
"cardNb", cardNb ? cardNb : "none");
if(wrapRet) {
AFB_API_ERROR(apiHandle,