p54: fix lm87 checksum endianness
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 24 Jan 2009 09:44:26 +0000 (10:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Feb 2009 21:47:20 +0000 (13:47 -0800)
commit631c7b5c602f9516cfe11c4556181c14bee6fdb3
tree22c3a161d2ccd8dcf4f50d31075a9ac5dfd708e2
parent1d2966c46a14815bf7c5016b5ca6068bce9ec1c6
p54: fix lm87 checksum endianness

commit c91276592695e13d1b52eab572551017cbf96ee7 upstream

This fixes the checksum calculation for lm87 firmwares
on big endian platforms, the device treats the data as
an array of 32-bit little endian values so the driver
needs to do that as well.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54usb.c