Skip to content

Commit 193bd6c

Browse files
Fix if conditiong/wrong variable name used
1 parent afce1fd commit 193bd6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread<ImplClass>::_WriteThreadNetw
11621162
averageRssi.SetNonNull(neighInfo.mAverageRssi);
11631163
}
11641164

1165-
if (neighInfo.mAverageRssi == OT_RADIO_RSSI_INVALID)
1165+
if (neighInfo.mLastRssi == OT_RADIO_RSSI_INVALID)
11661166
{
11671167
lastRssi.SetNull();
11681168
}

0 commit comments

Comments
 (0)