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)
commit0f116fdd09b19d53b243c1232b8507ae35398f4f
tree5870cb8ce846c4d3e9b683ca06de71816362260e
parentc553c3279a550de5566c4c597a72d42ec75b36e5
brcm47xx: bgmac: allow bigger et_swtype nvram variable

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
target/linux/brcm47xx/patches-3.10/711-bgmac_fix_parsing_of_et_swtype.patch [new file with mode: 0644]