ar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices
authorJohn Crispin <john@openwrt.org>
Fri, 1 Apr 2016 07:11:56 +0000 (07:11 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 1 Apr 2016 07:11:56 +0000 (07:11 +0000)
commit501db1d5e2af9d71ddac4a72477d70b979f5df12
treeeb37e033d8ae04f132a6ebfa471fdee931ecad82
parent836ec91605c1636819c926b2f4e031b58c2908d6
ar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices

Instead of adding the space when combining $model and $hwver, add the space
to the beginning of $hwver, so the resulting string won't end with a space
when $hwver is set to the empty string.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49106
target/linux/ar71xx/base-files/lib/ar71xx.sh