Commit 032847fd authored by Kishen Maloor's avatar Kishen Maloor

Treat oic.wk.con an NCR

Change-Id: I1d311c53cb1fb54262659ce366bef33dcd3da9d6
Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent 4ab74966
......@@ -550,11 +550,12 @@ oc_core_is_DCR(oc_resource_t *resource, size_t device)
size_t DCRs_end = device_resources + OCF_D, i;
for (i = device_resources + 1; i <= DCRs_end; i++) {
if (i == (device_resources + OCF_INTROSPECTION_WK) ||
i == (device_resources + OCF_INTROSPECTION_DATA)) {
continue;
}
if (resource == &core_resources[i]) {
if (i == (device_resources + OCF_INTROSPECTION_WK) ||
i == (device_resources + OCF_INTROSPECTION_DATA) ||
i == (device_resources + OCF_CON)) {
return false;
}
return true;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment