mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 23:57:46 +00:00
[ncp] fix handling of (parse) error in UNSOL_UPDATE_FILTER set handler (#2397)
This commit is contained in:
committed by
Jonathan Hui
parent
6f584b2b54
commit
c1cb99f14d
@@ -1685,7 +1685,7 @@ otError NcpBase::SetPropertyHandler_UNSOL_UPDATE_FILTER(void)
|
||||
|
||||
while (mDecoder.GetRemainingLengthInStruct() > 0)
|
||||
{
|
||||
SuccessOrExit(mDecoder.ReadUintPacked(propKey));
|
||||
SuccessOrExit(error = mDecoder.ReadUintPacked(propKey));
|
||||
|
||||
IgnoreReturnValue(mChangedPropsSet.EnablePropertyFilter(static_cast<spinel_prop_key_t>(propKey), true));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user