p54: fix lm87 checksum endianness
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 1 Dec 2008 17:19:36 +0000 (18:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:35:46 +0000 (09:35 -0500)
commitc91276592695e13d1b52eab572551017cbf96ee7
treec5e0a6611c215ce38637c56c0ef0989fda04d120
parent0f70f398460adb2d8aabb00e7e65f58247f219a3
p54: fix lm87 checksum endianness

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