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>
Showing
- drivers/net/wireless/wl12xx/wl1271_acx.c 1 addition, 1 deletiondrivers/net/wireless/wl12xx/wl1271_acx.c
- drivers/net/wireless/wl12xx/wl1271_boot.c 4 additions, 4 deletionsdrivers/net/wireless/wl12xx/wl1271_boot.c
- drivers/net/wireless/wl12xx/wl1271_cmd.c 2 additions, 2 deletionsdrivers/net/wireless/wl12xx/wl1271_cmd.c
- drivers/net/wireless/wl12xx/wl1271_conf.h 1 addition, 1 deletiondrivers/net/wireless/wl12xx/wl1271_conf.h
Loading
Please register or sign in to comment