summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2015-12-14 16:34:38 -0600
committerKalle Valo <kvalo@codeaurora.org>2015-12-30 17:06:38 +0200
commitb68d0ae7e58624c33f2eddab471fee55db27dbf9 (patch)
tree897c3b9106a39a85df43c1059b2de6f0a4453d83 /drivers
parentb24f19f16b9e43f54218c07609b783ea8625406a (diff)
downloadlinux-stable-b68d0ae7e58624c33f2eddab471fee55db27dbf9.tar.gz
linux-stable-b68d0ae7e58624c33f2eddab471fee55db27dbf9.tar.bz2
linux-stable-b68d0ae7e58624c33f2eddab471fee55db27dbf9.zip
rtlwifi: rtl8192cu: Add missing parameter setup
This driver fails to copy the module parameter for software encryption to the locations used by the main code. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c
index fd4a5353d216..7c6f7f0d18c6 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c
@@ -65,6 +65,8 @@ static int rtl92cu_init_sw_vars(struct ieee80211_hw *hw)
rtlpriv->dm.disable_framebursting = false;
rtlpriv->dm.thermalvalue = 0;
rtlpriv->dbg.global_debuglevel = rtlpriv->cfg->mod_params->debug;
+ rtlpriv->cfg->mod_params->sw_crypto =
+ rtlpriv->cfg->mod_params->sw_crypto;
/* for firmware buf */
rtlpriv->rtlhal.pfirmware = vzalloc(0x4000);