Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ncp] fix get property handler of SRP SERVER (openthread#10967)
This commit fixes the wrong implementation of the GetProperty handler of `SPINEL_PROP_SRP_SERVER_ENABLED` and `SPINEL_PROP_SRP_SERVER_AUTO_ENABLE_MODE`. In GetProperty handlers only the body should be written. It doesn't need to and shouldn't call `BeginFrame` and `EndFrame`. If using `BeginFrame` here, it will get an error of INVALID_STATE.
- Loading branch information