Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[spinel] fix error code when waiting rcp response timeout (#9278)
For the RCP waiting response timeout handle logic, the error code of processing `WaitResponse()` will be checked, if there is no error, the function `ResetRcp` will return with a log "Software reset RCP successfully". But the implementation of the `WaitResponse` it will always return OT_ERROR_NONE even if waiting response timeout. This commit returns `OT_ERROR_RESPONSE_TIMEOUT` on response timeout.
- Loading branch information