commit | 924ffb7dba80f44211d4ba08157496c6e37d307a | [log] [tgz] |
---|---|---|
author | Hauke Mehrtens <hauke@hauke-m.de> | Wed Dec 26 19:53:26 2012 +0000 |
committer | John Crispin <blogic@openwrt.org> | Fri Feb 15 19:01:57 2013 +0100 |
tree | ddf105932259ac4a1dbe64a2e5120729f58a330d | |
parent | 111bd981e2216827aab95503596501ab71bc7a7d [diff] |
MIPS: BCM47XX: trim the nvram values for parsing Some nvram values on some devices have a newline character at the end of the value, that caused read errors. Trim the string before reading the number. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Patchwork: http://patchwork.linux-mips.org/patch/4745/ Signed-off-by: John Crispin <blogic@openwrt.org>