From d2e59fd645d411abd51584d842c96c3b3208ceef Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Fri, 10 Aug 2018 16:16:00 +0800 Subject: [PATCH] [posix-app] fix getting tx power (#2957) --- src/posix/platform/radio_spinel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posix/platform/radio_spinel.cpp b/src/posix/platform/radio_spinel.cpp index 05cc3e6e1..5adfef0b6 100644 --- a/src/posix/platform/radio_spinel.cpp +++ b/src/posix/platform/radio_spinel.cpp @@ -904,7 +904,7 @@ otError RadioSpinel::ClearSrcMatchExtEntries(void) otError RadioSpinel::GetTransmitPower(int8_t &aPower) { - otError error = Get(SPINEL_PROP_PHY_TX_POWER, SPINEL_DATATYPE_INT8_S, aPower); + otError error = Get(SPINEL_PROP_PHY_TX_POWER, SPINEL_DATATYPE_INT8_S, &aPower); LogIfFail(mInstance, "Get transmit power failed", error); return error;