wl1271: fix a bunch of sparse warnings
[safe/jmp/linux-2.6] / drivers / net / wireless / wl12xx / wl1271_acx.c
index 1a6b2ec..4ed4036 100644 (file)
@@ -589,7 +589,7 @@ int wl1271_acx_sg_cfg(struct wl1271 *wl)
 
        /* BT-WLAN coext parameters */
        for (i = 0; i < CONF_SG_PARAMS_MAX; i++)
-               param->params[i] = c->params[i];
+               param->params[i] = cpu_to_le32(c->params[i]);
        param->param_idx = CONF_SG_PARAMS_ALL;
 
        ret = wl1271_cmd_configure(wl, ACX_SG_CFG, param, sizeof(*param));