wl1271: fix a bunch of sparse warnings
authorLuciano Coelho <luciano.coelho@nokia.com>
Wed, 28 Apr 2010 06:50:02 +0000 (09:50 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Apr 2010 20:50:27 +0000 (16:50 -0400)
commit23a7a51c5a35b30aa3edcc31a6a57b01c523b4cd
tree5f75758db2203ab0f957a737687200c40c23a205
parent82429d32ca3bae9d67faa32ffbc989be2e63094f
wl1271: fix a bunch of sparse warnings

A couple of sparse warnings in some rate settings (missing cpu_to_le32) were
fixed.  Changed the conf_sg_settings struct from le to native endianess.  The
values are converted to le when copying them to the acx command instead.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_acx.c
drivers/net/wireless/wl12xx/wl1271_boot.c
drivers/net/wireless/wl12xx/wl1271_cmd.c
drivers/net/wireless/wl12xx/wl1271_conf.h