ramips: fix ASUS WL-330N3G MAC address
authorGabor Juhos <juhosg@openwrt.org>
Mon, 24 Dec 2012 06:52:41 +0000 (06:52 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 24 Dec 2012 06:52:41 +0000 (06:52 +0000)
commitde0a8def83570858b0665dde16afbe9d777f7395
tree79b7d745c4896238102143083046fc3134e14a24
parent4a82fcedcbabacde18354af29d0de3511d6056b1
ramips: fix ASUS WL-330N3G MAC address

The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34877 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/base-files/lib/preinit/06_set_iface_mac