AA: ramips: fix ASUS WL-330N3G MAC address
authorGabor Juhos <juhosg@openwrt.org>
Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)
commitb2f60f371ee569bf1c788be1e822e56bc4b548f7
treebbdf4466e6b633bb460beb19c73835fc37a2ef05
parentcacf145c930819ed479ad899794754946ede8949
AA: ramips: fix ASUS WL-330N3G MAC address

Backport of r34877.

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>
SVN-Revision: 34879
target/linux/ramips/base-files/lib/preinit/06_set_iface_mac