From 199cd053279c33823df6b98665e541aee5dfaa22 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 08:55:41 +0700 Subject: [PATCH] hw bwm upgrade: say "outdated" instead of "fail" for a differing BWM firmware A mismatch is the normal case before an upgrade, not an error. Co-Authored-By: Claude Opus 5.5 --- client/src/cmdbwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdbwm.c b/client/src/cmdbwm.c index 6e2ef618c..81786f29c 100644 --- a/client/src/cmdbwm.c +++ b/client/src/cmdbwm.c @@ -584,7 +584,7 @@ static const char *bwm_ver_tag(const char *running, const uint8_t *fw, size_t fw if (match == false && il > rl + 2) { match = (strncmp(img + il - rl - 2, "-g", 2) == 0) && (strcmp(img + il - rl, running) == 0); } - return match ? " ( " _GREEN_("ok") " )" : " ( " _RED_("fail") " )"; + return match ? " ( " _GREEN_("ok") " )" : " ( " _RED_("outdated") " )"; } static int CmdBWMUpgrade(const char *Cmd) {