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 Nov 7, 2023
1 parent 029e9d5 commit 1490690
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 1490690

Please sign in to comment.