Skip to content

Commit

Permalink
Fix boufallolab build. (#26108)
Browse files Browse the repository at this point in the history
Merge conflict between
#26099 and
#26088 led to things not
building.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Oct 10, 2023
1 parent aaa7fcc commit 9333651
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,7 @@ DiagnosticDataProvider & GetDiagnosticDataProviderImpl()

CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiBssId(MutableByteSpan & BssId)
{
BssId = ByteSpan(wifiMgmr.wifi_mgmr_stat_info.bssid, sizeof(wifiMgmr.wifi_mgmr_stat_info.bssid));

// TODO: This does not actually put the data in the out param.
return CHIP_ERROR_READ_FAILED;
return CopySpanToMutableSpan(ByteSpan(wifiMgmr.wifi_mgmr_stat_info.bssid), BssId);
}

CHIP_ERROR DiagnosticDataProviderImpl::GetWiFiSecurityType(app::Clusters::WiFiNetworkDiagnostics::SecurityTypeEnum & securityType)
Expand Down

0 comments on commit 9333651

Please sign in to comment.