]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb68c6ebc1c126a9fa6e538ce683b7907e2f1823d
tree93ade422903c19d013bb3bfeb0ff9cadb5fe8dee
parent3cd86b560d7588b7fdb3b004fdcb344ca6a41cb8
ssb: pci: Fix flipping of MAC address

Since commit b660add 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