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)
commit85c540b94e727b6c30b85b5dfe18d7e98673bfc4
tree15149b7983e4a7c9a7b7db550768c1c2e7ed264d
parentdfed41d3d805e9383ff4c9dd184a0e5d4046e617
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