From c7216cee1bffaf6ad9ec94595335422185566225 Mon Sep 17 00:00:00 2001 From: pankore <86098180+pankore@users.noreply.github.com> Date: Wed, 22 Jun 2022 10:47:48 +0800 Subject: [PATCH] [NetworkCommissioning] Pass in RSSI to NetworkCommissioningDriver (#19760) --- src/platform/Ameba/NetworkCommissioningDriver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/Ameba/NetworkCommissioningDriver.h b/src/platform/Ameba/NetworkCommissioningDriver.h index dfaf995d6be6de..8b86a3df1831e9 100644 --- a/src/platform/Ameba/NetworkCommissioningDriver.h +++ b/src/platform/Ameba/NetworkCommissioningDriver.h @@ -47,7 +47,7 @@ class AmebaScanResponseIterator : public Iterator item.ssidLen = mpScanResults[mIternum].SSID.len; item.channel = mpScanResults[mIternum].channel; item.wiFiBand = chip::DeviceLayer::NetworkCommissioning::WiFiBand::k2g4; - // item.rssi = mpScanResults[mIternum].rssi; + item.rssi = mpScanResults[mIternum].signal_strength; memcpy(item.ssid, mpScanResults[mIternum].SSID.val, item.ssidLen); memcpy(item.bssid, mpScanResults[mIternum].BSSID.octet, 6);