[posix-app] fix getting tx power (#2957)

This commit is contained in:
Yakun Xu
2018-08-10 01:16:00 -07:00
committed by Jonathan Hui
parent c8d06c402e
commit d2e59fd645
+1 -1
View File
@@ -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;