From e338b6e932c7b1264ea245167c7f7b83d5ca1005 Mon Sep 17 00:00:00 2001 From: jrhees-cae <61466710+jrhees-cae@users.noreply.github.com> Date: Wed, 17 Nov 2021 06:55:35 -0700 Subject: [PATCH] Bugfix: Software-Version attribute is incorrectly being initialized with HardwareVersion default value (#11869) --- src/app/clusters/basic/basic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/clusters/basic/basic.cpp b/src/app/clusters/basic/basic.cpp index 45d78b0824fae1..02a4be9e1530e5 100644 --- a/src/app/clusters/basic/basic.cpp +++ b/src/app/clusters/basic/basic.cpp @@ -87,7 +87,7 @@ void emberAfBasicClusterServerInitCallback(chip::EndpointId endpoint) uint16_t firmwareRevision; if (ConfigurationMgr().GetFirmwareRevision(firmwareRevision) == CHIP_NO_ERROR) { - status = Attributes::HardwareVersion::Set(endpoint, firmwareRevision); + status = Attributes::SoftwareVersion::Set(endpoint, firmwareRevision); VerifyOrReturn(EMBER_ZCL_STATUS_SUCCESS == status, ChipLogError(Zcl, "Error setting Software Version: 0x%02x", status)); } }