]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtl2800usb: Fix incorrect storage of MAC address on big-endian platforms
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 14 Sep 2011 21:50:23 +0000 (16:50 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Nov 2011 21:46:56 +0000 (13:46 -0800)
commit7ef8233896140a1f27380166850d8c8a0fb663cc
treeea3a8d457d1e44f1a5d893c86974805d6b5c2667
parente758f2a629cd1d110a44082b25af1d4f46625556
rtl2800usb: Fix incorrect storage of MAC address on big-endian platforms

commit daabead1c32f331edcfb255fd973411c667977e8 upstream.

The eeprom data is stored in little-endian order in the rt2x00 library.
As it was converted to cpu order in the read routines, the data need to
be converted to LE on a big-endian platform.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/rt2x00/rt2800lib.c