ar71xx: avoid AR71XX_MODEL ending with a space on some TP-LINK-like devices
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Apr 2016 07:11:56 +0000 (07:11 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Apr 2016 07:11:56 +0000 (07:11 +0000)
commit85c374ae8e2ddb9fb163ee30698f4a9aa1239392
treeeb37e033d8ae04f132a6ebfa471fdee931ecad82
parent461595235558bfb0dd748532af26ade8bcce89b5
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49106 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/base-files/lib/ar71xx.sh