realtek: fix ZYXELS_VERS for GS1900-48

The GS1900-48 firmware image is identified by the 'AAHN' ID, while the
GS1900-48HP is identified by 'AAHO' [1]. The latter was used, resulting
in the following error message when upgrading via the stock web UI:

  Device only can support firmware from V1.00(AAHN.0) and later version

Fix image generation by using the correct ID.

[1] https://download.zyxel.com/GS1900-48/firmware/GS1900-48_2.70(AAHN.3)C0_2.pdf

Link: https://forum.openwrt.org/t/146533
Fixes: 47f5a0a3ee ("realtek: Add support for ZyXEL GS1900-48 Switch")
Suggested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
Sander Vanheule 2022-12-27 14:27:44 +01:00
parent ab8a5f2ea0
commit 80be0fea03

View File

@ -41,7 +41,7 @@ define Device/zyxel_gs1900-48
IMAGE_SIZE := 13952k
DEVICE_VENDOR := ZyXEL
UIMAGE_MAGIC := 0x83800000
ZYXEL_VERS := AAHO
ZYXEL_VERS := AAHN
DEVICE_MODEL := GS1900-48
KERNEL_INITRAMFS := \
kernel-bin | \