VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Larry Finger <Larry.Finger@lwfinger.net> 2013-03-11 15:38:26 -0500 committer: John W. Linville <linville@tuxdriver.com> 2013-03-13 14:23:02 -0400 commit: a9fac7399b45db668faeca6c33873d249111cf8b parent: c3f251a317e032c9ceaf539b02a962986f70b523
Commit Summary:
ssb: pci: Fix flipping of MAC address
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c
index 6d6e7b926aa5..63ff69f9d3eb 100644
--- a/drivers/ssb/pci.c
+++ b/drivers/ssb/pci.c
@@ -234,8 +234,8 @@ static void sprom_get_mac(char *mac, const u16 *in)
 {
 	int i;
 	for (i = 0; i < 3; i++) {
-		*mac++ = in[i];
 		*mac++ = in[i] >> 8;
+		*mac++ = in[i];
 	}
 }