From 15a39d0db5062769bc45f1a82fa06289afe5b762 Mon Sep 17 00:00:00 2001 From: Zhanglong Xia Date: Tue, 16 May 2023 11:10:00 +0800 Subject: [PATCH] Replace the function 'OnRcpReset()' with 'HardwareReset()' The lastest OpenThread source code has removed the function 'OnRcpReset()' and added the function 'HardwareReset()'. This CL replaces the function 'OnRcpReset()' with 'HardwareReset()'. Bug: b/281629567 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fc01bfdd2867bbcf82de8f930004928a01020e1a) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8baa50b00705bd482d5b18639f831c71ca200db4) Merged-In: I9e77970903656e7c7b66078fb5a380f6630d639b Change-Id: I9e77970903656e7c7b66078fb5a380f6630d639b --- staging/threadnetwork/aidl/default/thread_chip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/threadnetwork/aidl/default/thread_chip.cpp b/staging/threadnetwork/aidl/default/thread_chip.cpp index 38abad4ab5..9bd729d57e 100644 --- a/staging/threadnetwork/aidl/default/thread_chip.cpp +++ b/staging/threadnetwork/aidl/default/thread_chip.cpp @@ -170,7 +170,7 @@ ndk::ScopedAStatus ThreadChip::sendSpinelFrame(const std::vector& in_fr } ndk::ScopedAStatus ThreadChip::reset() { - mInterface.OnRcpReset(); + mInterface.HardwareReset(); ALOGI("reset()"); return ndk::ScopedAStatus::ok(); }