Commit ab553005 authored by Aleksey's avatar Aleksey Committed by Nathan Heldt-Sheller

[IOT-2801] Allow /cred change

This patch allows /cred updates originating from internal stack.

Change-Id: If9dec4776770d96f740118b4dc2ef595c9433e8b
Signed-off-by: Aleksey's avatarAleksey Volkov <a.volkov@samsung.com>
parent 1865a693
......@@ -1686,9 +1686,7 @@ OCStackResult AddCredential(OicSecCred_t * newCred)
if ((DOS_RESET == dos.state) ||
(DOS_RFNOP == dos.state))
{
OIC_LOG_V(ERROR, TAG, "%s /cred resource is read-only in RESET and RFNOP.", __func__);
result = OC_EH_NOT_ACCEPTABLE;
goto exit;
OIC_LOG_V(WARNING, TAG, "%s /cred resource is read-only in RESET and RFNOP.", __func__);
}
//leave IOT-1936 fix for preconfig pin
......
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