rt2x00: Fix efuse EEPROM reading on PPC32.
commit68fa64ef606bcee688fce46d07aa68f175070156
authorGertjan van Wingerde <gwingerde@gmail.com>
Wed, 16 Nov 2011 22:16:15 +0000 (16 23:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 17 Nov 2011 19:39:31 +0000 (17 14:39 -0500)
treea48b740d25a6ecbb26a6a080e43fa8f669416988
parent23085d5796561625db4143a671f1de081f66ef08
rt2x00: Fix efuse EEPROM reading on PPC32.

Fix __le32 to __le16 conversion of the first word of an 8-word block
of EEPROM read via the efuse method.

Reported-and-tested-by: Ingvar Hagelund <ingvar@redpill-linpro.com>
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
CC: <stable@vger.kernel.org>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c