aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2021-09-10 10:57:19 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-09-13 18:36:15 +0200
commit46dec9952bb059156eaf5a82759ee32cc7cd6a0f (patch)
tree52bbc4d431a5a4312be025a4e7a204a93f544792 /tools
parent8dba4741b3d4a449e0e4b85dd8cd9df7076e4ded (diff)
downloadupstream-46dec9952bb059156eaf5a82759ee32cc7cd6a0f.tar.gz
upstream-46dec9952bb059156eaf5a82759ee32cc7cd6a0f.tar.bz2
upstream-46dec9952bb059156eaf5a82759ee32cc7cd6a0f.zip
firmware-utils: tplink-safeloader: set EAP235-Wall v1 soft-version
Starting with v3 of the vendor firmware for the TP-Link EAP235-Wall v1, downgrades to firmware versions below v3 as not allowed. Since OpenWrt uses version 0.0.0 as a default, this causes the factory install to fail on devices with a recent firmware. This failure is associated by the following message on the device's serial console: EAP235/230-Wall forbid fw reverted from 3.x.x to lower version! Vendor firmware (v3) also uses build and release numbers to compare images, so identical version numbers are very unlikely to cause issues. Bump the firmware version to 3.0.0 to ensure users can install OpenWrt on their devices. Reported-by: Colton Conor <colton.conor@gmail.com> Tested-by: Colton Conor <colton.conor@gmail.com> Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/tplink-safeloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
index b3cfe39b2c..b20d1fdd30 100644
--- a/tools/firmware-utils/src/tplink-safeloader.c
+++ b/tools/firmware-utils/src/tplink-safeloader.c
@@ -1560,7 +1560,7 @@ static struct device_info boards[] = {
"SupportList:\r\n"
"EAP235-Wall(TP-Link|UN|AC1200-D):1.0\r\n",
.part_trail = PART_TRAIL_NONE,
- .soft_ver = SOFT_VER_DEFAULT,
+ .soft_ver = SOFT_VER_NUMERIC(3, 0, 0),
.soft_ver_compat_level = 1,
.partitions = {