From e04a9990288f9c0193b5756d2162c5e99dd41383 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Tue, 26 Nov 2019 09:13:47 -0800 Subject: [PATCH] [radio] change SetCcaEnergyDetectThreshold() to pass by value (#4356) --- src/core/radio/radio.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/radio/radio.hpp b/src/core/radio/radio.hpp index 9f99e649e..fe4f89744 100644 --- a/src/core/radio/radio.hpp +++ b/src/core/radio/radio.hpp @@ -295,7 +295,7 @@ public: * @retval OT_ERROR_NOT_IMPLEMENTED CCA ED threshold configuration via dBm is not implemented. * */ - otError SetCcaEnergyDetectThreshold(int8_t &aThreshold) + otError SetCcaEnergyDetectThreshold(int8_t aThreshold) { return otPlatRadioSetCcaEnergyDetectThreshold(GetInstance(), aThreshold); }