wl1251: convert 32-bit values to le32 before writing to the chip
authorLuciano Coelho <coelho@ti.com>
Wed, 21 Dec 2011 20:36:28 +0000 (22:36 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:27 +0000 (08:38 +0200)
commitac9e2d9afa90ecb7ee1b419cce6969f31a138f77
tree6f13a8b12b0bf87ee3d74e96498eb2d77d0b8ba8
parent059625e757754459d8adb370e3d751abdd51723b
wl1251: convert 32-bit values to le32 before writing to the chip

The 32-bit values were not converted before writing them to the chip.
Change the wl1251_read32() and wl1251_write32() so that they always
read and write le32 values and convert to and from the CPU endianess.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl1251/io.h
drivers/net/wireless/wl1251/wl1251.h