rtlwifi: rtl8192ce: Fix handling of module parameters
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 14 Dec 2015 22:34:37 +0000 (16:34 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 15:06:36 +0000 (17:06 +0200)
The module parameter for software encryption was never transferred to
the location used by the driver.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c

index de6cb6c3a48cc7b931e752596272a3783558f842..4780bdc63b2bf1cfb5b11e728a2806d167b3f657 100644 (file)
@@ -139,6 +139,8 @@ int rtl92c_init_sw_vars(struct ieee80211_hw *hw)
        rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps;
        rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps;
        rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps;
+       rtlpriv->cfg->mod_params->sw_crypto =
+               rtlpriv->cfg->mod_params->sw_crypto;
        if (!rtlpriv->psc.inactiveps)
                pr_info("rtl8192ce: Power Save off (module option)\n");
        if (!rtlpriv->psc.fwctrl_lps)