diff --git a/platform/mellanox/mlnx-fw-upgrade.j2 b/platform/mellanox/mlnx-fw-upgrade.j2 index d39c53bdfd..50081bedb8 100755 --- a/platform/mellanox/mlnx-fw-upgrade.j2 +++ b/platform/mellanox/mlnx-fw-upgrade.j2 @@ -301,7 +301,7 @@ function UpgradeCPLDFW() { ExitFailure "could not retrieve current CPLD firmware version" fi - if [[ "${_CURRENT_CPLD_VERSION}" = "${_TARGET_CPLD_VERSION}" ]]; then + if [[ "${_CURRENT_CPLD_VERSION}" -ge "${_TARGET_CPLD_VERSION}" ]]; then LogInfo "CPLD firmware is up to date" return "${EXIT_SUCCESS}" fi