brcm47xx: bgmac: allow bigger et_swtype nvram variable
authorHauke Mehrtens <hauke@openwrt.org>
Sun, 15 Sep 2013 15:50:41 +0000 (15:50 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sun, 15 Sep 2013 15:50:41 +0000 (15:50 +0000)
commit463cdf78fa5e8bca6e7ed00bd1e5af8e099d2982
tree5870cb8ce846c4d3e9b683ca06de71816362260e
parent734c329b428ea12f5817b83fa974cb84880a2b8e
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]