rtlwifi: rtl8192ce: Fix endian warnings
[deliverable/linux.git] / drivers / net / wireless / rtlwifi / core.c
index 2d1e3e8335682fe22cef87bc5a9e6e4e59f7acef..b0996bf8a214125860fa6ee68da1a83af0591df4 100644 (file)
@@ -434,9 +434,9 @@ static int rtl_op_conf_tx(struct ieee80211_hw *hw, u16 queue,
 
        aci = _rtl_get_hal_qnum(queue);
        mac->ac[aci].aifs = param->aifs;
-       mac->ac[aci].cw_min = param->cw_min;
-       mac->ac[aci].cw_max = param->cw_max;
-       mac->ac[aci].tx_op = param->txop;
+       mac->ac[aci].cw_min = cpu_to_le16(param->cw_min);
+       mac->ac[aci].cw_max = cpu_to_le16(param->cw_max);
+       mac->ac[aci].tx_op = cpu_to_le16(param->txop);
        memcpy(&mac->edca_param[aci], param, sizeof(*param));
        rtlpriv->cfg->ops->set_qos(hw, aci);
        return 0;
This page took 0.042222 seconds and 5 git commands to generate.