From 9023573294ad1af584f648b39c5196e95e06ee95 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 9 Mar 2010 18:05:39 +0000 Subject: [PATCH] ar71xx: fix a typo in the ar7240 dsa driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20093 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/net/dsa/ar7240.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/files/net/dsa/ar7240.c b/target/linux/ar71xx/files/net/dsa/ar7240.c index b681a3451..ba2481518 100644 --- a/target/linux/ar71xx/files/net/dsa/ar7240.c +++ b/target/linux/ar71xx/files/net/dsa/ar7240.c @@ -523,7 +523,7 @@ static int ar7240_dsa_set_addr(struct dsa_switch *ds, u8 *addr) ar7240sw_reg_write(as, AR7240_REG_MAC_ADDR0, t); t = (addr[0] << 24) | (addr[1] << 16) | (addr[2] << 8) | addr[3]; - ar7240sw_reg_write(as, AR7240_REG_MAC_ADDR0, t); + ar7240sw_reg_write(as, AR7240_REG_MAC_ADDR1, t); return 0; } -- 2.20.1