From: Gabor Juhos Date: Tue, 9 Mar 2010 18:05:39 +0000 (+0000) Subject: ar71xx: fix a typo in the ar7240 dsa driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9003a98d8399bdc7fc3c432814962b041248affa;p=openwrt%2Fstaging%2Fzorun.git ar71xx: fix a typo in the ar7240 dsa driver SVN-Revision: 20093 --- 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; }