diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-08-10 12:21:30 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-08-10 12:21:30 +0000 |
commit | 7a3018b4b657c2d30a3e93934f2c4204d4e007e9 (patch) | |
tree | 59686ff7711a0198fcdad9384910eaa05d145f32 /target/linux/brcm63xx/patches-3.14/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch | |
parent | 8dd6672941a399ae559a41beabb8764529907b99 (diff) | |
download | master-187ad058-7a3018b4b657c2d30a3e93934f2c4204d4e007e9.tar.gz master-187ad058-7a3018b4b657c2d30a3e93934f2c4204d4e007e9.tar.bz2 master-187ad058-7a3018b4b657c2d30a3e93934f2c4204d4e007e9.zip |
brcm63xx: Fix fallback sprom il0mac
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42097 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch b/target/linux/brcm63xx/patches-3.14/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch index 5844361d17..42502eb062 100644 --- a/target/linux/brcm63xx/patches-3.14/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch +++ b/target/linux/brcm63xx/patches-3.14/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch @@ -512,6 +512,6 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> + if (size > 0) + sprom_extract(&bcm63xx_sprom, template_sprom, size); + - memcpy(bcm63xx_sprom.et0mac, data->mac_addr, ETH_ALEN); + memcpy(bcm63xx_sprom.il0mac, data->mac_addr, ETH_ALEN); memcpy(bcm63xx_sprom.et0mac, data->mac_addr, ETH_ALEN); memcpy(bcm63xx_sprom.et1mac, data->mac_addr, ETH_ALEN); |