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 <koen.vandeputte@citymesh.com>
This commit is contained in:
Koen Vandeputte 2025-10-14 12:25:25 +02:00
parent 902f739817
commit b1299c2fcf

View File

@ -26,6 +26,8 @@ platform_check_image_mikrotik_nor() {
}
platform_check_image() {
local board=$(board_name)
case "$board" in
mikrotik,routerboard-2011uias-2hnd|\
mikrotik,routerboard-493g|\