From 8b556fb056bdbdaf62bebdb59efa56a187b603b0 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Sun, 11 Jun 2017 19:41:23 +0200 Subject: [PATCH] ar71xx: image: fix TP-Link TL-WR710N v2/v2.1 BOARDNAME All TP-Link TL-WR710N versions share the same machine code. This has been working since the beginning as we don't use double-quotes to protect spaces inside command line values. Thus, kernel interprets 'board=TL-WR710N v2' as 'board=TL-WR710N' and separate parameter 'v2'. Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/image/tp-link.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk index ae64bf4e5d..b89797e53b 100644 --- a/target/linux/ar71xx/image/tp-link.mk +++ b/target/linux/ar71xx/image/tp-link.mk @@ -754,7 +754,7 @@ define Device/tl-wr710n-v2 $(Device/tplink-4mlzma) DEVICE_TITLE := TP-LINK TL-WR710N v2 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 - BOARDNAME := TL-WR710N v2 + BOARDNAME := TL-WR710N DEVICE_PROFILE := TLWR710 TPLINK_HWID := 0x07100002 CONSOLE := ttyATH0,115200 @@ -764,7 +764,7 @@ define Device/tl-wr710n-v2.1 $(Device/tplink-8mlzma) DEVICE_TITLE := TP-LINK TL-WR710N v2.1 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 - BOARDNAME := TL-WR710N v2.1 + BOARDNAME := TL-WR710N DEVICE_PROFILE := TLWR710 TPLINK_HWID := 0x07100002 TPLINK_HWREV := 0x00000002 -- 2.30.2