ssb: pci: Fix flipping of MAC address
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 11 Mar 2013 20:38:26 +0000 (15:38 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Mar 2013 18:23:02 +0000 (14:23 -0400)
commita9fac7399b45db668faeca6c33873d249111cf8b
tree93ade422903c19d013bb3bfeb0ff9cadb5fe8dee
parentc3f251a317e032c9ceaf539b02a962986f70b523
ssb: pci: Fix flipping of MAC address

Since commit e565275 entitled "ssb: pci: Standardize a function to get mac
address", the SPROM readout of the MAC has had the values flipped so that
00:11:22:33:44:55 became 11:00:33:22:55:44. The fix has been tested on both
little- and big-endian architectures.

Reported-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pci.c