Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dataset] returns OT_ERROR_REJECTED when MGMT_SET is rejected by lead…
…er (openthread#9582) The current code won't return a failure error code when a MGMT_SET request is rejected by the leader, so the client doesn't know whether the operation succeed or not. This commit fixes this issue by converting the REJECTED state to the OT_ERROR_REJECTED error code which is propagated back via the otDatasetMgmtSetCallback callback.
- Loading branch information