ar71xx: tplink_pharos_get_model_string: process model before returning it
authorAlexander Couzens <lynxis@fe80.eu>
Fri, 13 Oct 2017 02:17:07 +0000 (04:17 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Sat, 14 Oct 2017 05:00:48 +0000 (07:00 +0200)
commit541e4ce07773d135346854925c0e134ecd704497
tree2257c7b0f4d7c3216b8aecdb5b237bbcc262b97b
parentfafff4977d7afc84135064fff59c412c6df970a8
ar71xx: tplink_pharos_get_model_string: process model before returning it

Limits the model string to 64 chars.
Filter out \r\0 chars.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh