mwifiex: use little-endian variables in firmware structures
[deliverable/linux.git] / drivers / net / wireless / mwifiex / sta_cmd.c
index 2181ee283d823e19dafaa5b1b8a09fcb1b4f2b1a..1efa43ec1c6ec3921d143752b3fb7ab3d6511902 100644 (file)
@@ -354,7 +354,7 @@ mwifiex_cmd_802_11_hs_cfg(struct mwifiex_private *priv,
        }
        if (hs_activate) {
                hs_cfg->action = cpu_to_le16(HS_ACTIVATE);
-               hs_cfg->params.hs_activate.resp_ctrl = RESP_NEEDED;
+               hs_cfg->params.hs_activate.resp_ctrl = cpu_to_le16(RESP_NEEDED);
        } else {
                hs_cfg->action = cpu_to_le16(HS_CONFIGURE);
                hs_cfg->params.hs_config.conditions = hscfg_param->conditions;
This page took 0.026293 seconds and 5 git commands to generate.