ath79: fix broken MikroTik upgrade
authorKoen Vandeputte <[email protected]>
Tue, 14 Oct 2025 10:25:25 +0000 (12:25 +0200)
committerKoen Vandeputte <[email protected]>
Tue, 14 Oct 2025 10:25:56 +0000 (12:25 +0200)
commitb1299c2fcf61d7baa2073ba7ff1d33b5ea28a51e
tree4f9ba0986ea65bf6ad4cd3ab1540704e894e411b
parent902f7398178657f6c8499062f94ecff3af9e19c8
ath79: fix broken MikroTik upgrade

Fix a regression introduced by a recent commit.
It looks like a copy/paste error.

Add the missing line which defines the 'board' val
as it does not exist otherwise in the case check.

This fixes sysupgrade on ath79 MikroTik non-NOR boards.

Fixes: 318f07c231 ("ath79: mikrotik: check RouterBOOT version matching sysupgrade image")
Signed-off-by: Koen Vandeputte <[email protected]>
target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh