aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-09 18:05:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-09 18:05:39 +0000
commitcddeb0d7edc902a2a507def4e1f8ed17e077b55e (patch)
tree0ab456bfe2ef0c61c855bf533b7d7e94e5ef93c4
parent0edfff7426a9d332db78111a13ebb4f2bcafeecc (diff)
downloadupstream-cddeb0d7edc902a2a507def4e1f8ed17e077b55e.tar.gz
upstream-cddeb0d7edc902a2a507def4e1f8ed17e077b55e.tar.bz2
upstream-cddeb0d7edc902a2a507def4e1f8ed17e077b55e.zip
ar71xx: fix a typo in the ar7240 dsa driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20093 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/net/dsa/ar7240.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/net/dsa/ar7240.c b/target/linux/ar71xx/files/net/dsa/ar7240.c
index b681a34514..ba24815182 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;
}