wcxb: Print running version when recommending power cycle.
Without this change it's hard to see what is actually running on the card when the firmware in the flash doesn't match the reported version. This is a debugging aide. Signed-off-by: Shaun Ruffell <sruffell@digium.com>
This commit is contained in:
@@ -925,8 +925,8 @@ int wcxb_check_firmware(struct wcxb *xb, const u32 expected_version,
|
||||
if ((meta.version == cpu_to_le32(expected_version))
|
||||
&& !force_firmware) {
|
||||
dev_info(&xb->pdev->dev,
|
||||
"Detected previous firmware updated to current version %x, but not running. You likely need to power cycle your system.\n",
|
||||
expected_version);
|
||||
"Detected previous firmware updated to current version %x, but %x is currently running on card. You likely need to power cycle your system.\n",
|
||||
expected_version, version);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user