AA: ramips: fix ASUS WL-330N3G MAC address
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)
commit8f34a8924d89009e3ff62567017912d736e6fb7c
treebbdf4466e6b633bb460beb19c73835fc37a2ef05
parentc3ac3b61f74f74cd8cbccf49b82f895a9e53ed55
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>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34879 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/base-files/lib/preinit/06_set_iface_mac