From 4e61cbbf5e849c008b6c1fbab68219163f7b22b3 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 30 Nov 2008 13:20:12 +0000 Subject: ag71xx driver: fix a typo SVN-Revision: 13445 --- target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c') diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c index 5c440c9..d99d514 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c @@ -257,7 +257,7 @@ static void ag71xx_hw_set_macaddr(struct ag71xx *ag, unsigned char *mac) u32 t; t = (((u32) mac[0]) << 24) | (((u32) mac[1]) << 16) - | (((u32) mac[2]) << 8) | ((u32) mac[2]); + | (((u32) mac[2]) << 8) | ((u32) mac[3]); ag71xx_wr(ag, AG71XX_REG_MAC_ADDR1, t); -- cgit v1.1