]> 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)
commitd4c3a9236432de22503313155f97189aed32af89
tree93ade422903c19d013bb3bfeb0ff9cadb5fe8dee
parente391b0a2afe94c2c3d80a60a0815aeb7b307cce3
ssb: pci: Fix flipping of MAC address

Since commit 0b4571d 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