only assign value if request went ok.
This commit is contained in:
parent
cd37a0299c
commit
a742aed5ad
@ -131,8 +131,10 @@ u32_t *value;
|
||||
|
||||
cpf_revoke(g_key);
|
||||
|
||||
if(r == OK) {
|
||||
/* Assign u32 value. */
|
||||
*value = m.DS_VAL;
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user