Skip to content

Commit

Permalink
Fix if conditiong/wrong variable name used (#24044)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored Dec 12, 2022
1 parent 6fc4beb commit c073ce7
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 c073ce7

Please sign in to comment.