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 and pull[bot] committed Jun 21, 2023
1 parent 5eba2b1 commit 2413912
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 2413912

Please sign in to comment.