ipq806x: fix sysupgrade for AP148

AP148 uses lowercase name as boardname, so we need to use this in
platform.sh as well.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48304
lede-17.01
Jonas Gorski 2016-01-18 10:46:58 +00:00
parent 74aca7d913
commit 25ce154605
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ platform_check_image() {
local board=$(ipq806x_board_name)
case "$board" in
AP148 |\
ap148 |\
r7500)
nand_do_platform_check $board $1
return $?;
@ -20,7 +20,7 @@ platform_pre_upgrade() {
local board=$(ipq806x_board_name)
case "$board" in
AP148 |\
ap148 |\
r7500)
nand_do_upgrade "$1"
;;