From patchwork Mon Dec 14 22:34:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 7849621 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9B2C59F32E for ; Mon, 14 Dec 2015 22:35:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D70A4202F8 for ; Mon, 14 Dec 2015 22:35:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0CA7E20263 for ; Mon, 14 Dec 2015 22:35:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932926AbbLNWfL (ORCPT ); Mon, 14 Dec 2015 17:35:11 -0500 Received: from mail-qk0-f170.google.com ([209.85.220.170]:33890 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932857AbbLNWfE (ORCPT ); Mon, 14 Dec 2015 17:35:04 -0500 Received: by qkdp187 with SMTP id p187so160227328qkd.1; Mon, 14 Dec 2015 14:35:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ToC5pNGAiL/N4poIgI7SgrbvNP8Tw5GkPawv+K88iIg=; b=okfvE1cvrk22xr9PvJ+6kP7Gt5uRohPo9rrmID7iuky/wfjHfhowyE9k2M3V3j+uEq CNZj4Rq15HCL2KJ0obupgYUCgxhhh+SR1DZX6wncr/PghlFsxT6if79GlQ1geZB4tKcu jC9ngv9I+L+7LZorNCcjWQ0IYs2OQ9mR4mTYQlz7Ap8YyhEX0hhbaaYWg+fxZpk/UPzm YYCI6TW6agDHyNlemTL/GAuGhuyh+xcmqgvM2WEaS+BDY/Nixeux0AHDllBXfxq7gWNz pvhK35wKz/RPy6XZRboT7KF8H6s9gYnFAACbhnYhoqLlrmY5Na8LY+48LRvXVihJRb8U t7Fg== X-Received: by 10.129.109.140 with SMTP id i134mr18800515ywc.50.1450132503678; Mon, 14 Dec 2015 14:35:03 -0800 (PST) Received: from linux.site (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id e67sm24380876ywf.15.2015.12.14.14.35.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Dec 2015 14:35:02 -0800 (PST) From: Larry Finger To: kvalo@codeaurora.org Cc: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, Larry Finger , Stable Subject: [PATCH 7/8] rtlwifi: rtl8192ce: Fix handling of module parameters Date: Mon, 14 Dec 2015 16:34:37 -0600 Message-Id: <1450132478-2386-8-git-send-email-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1450132478-2386-2-git-send-email-Larry.Finger@lwfinger.net> References: <1450132478-2386-2-git-send-email-Larry.Finger@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The module parameter for software encryption was never transferred to the location used by the driver. Signed-off-by: Larry Finger Cc: Stable --- drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c index de6cb6c..4780bdc 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c @@ -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)