Skip to content

Commit

Permalink
Fix if conditiong/wrong variable name used
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Dec 12, 2022
1 parent afce1fd commit 193bd6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread<ImplClass>::_WriteThreadNetw
averageRssi.SetNonNull(neighInfo.mAverageRssi);
}

if (neighInfo.mAverageRssi == OT_RADIO_RSSI_INVALID)
if (neighInfo.mLastRssi == OT_RADIO_RSSI_INVALID)
{
lastRssi.SetNull();
}
Expand Down

0 comments on commit 193bd6c

Please sign in to comment.