]> git.enpas.org Git - openwrt.git/commitdiff
brcm47xx: bgmac: allow bigger et_swtype nvram variable
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 15 Sep 2013 15:50:41 +0000 (15:50 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 15 Sep 2013 15:50:41 +0000 (15:50 +0000)
Without this patch it is impossible to read et_swtype, because the 1
byte space is needed for the terminating null byte. Now it should be
possible to read decimal and hex vars of max 8 bit.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37999 3c298f89-4303-0410-b956-a3cf2f4a3e73


No differences found