From patchwork Mon Dec 14 22:34:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 7849631 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 2A95E9F32E for ; Mon, 14 Dec 2015 22:35:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4FD34202FF for ; Mon, 14 Dec 2015 22:35:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8409E202F8 for ; Mon, 14 Dec 2015 22:35:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932905AbbLNWfJ (ORCPT ); Mon, 14 Dec 2015 17:35:09 -0500 Received: from mail-qk0-f178.google.com ([209.85.220.178]:33354 "EHLO mail-qk0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932898AbbLNWfG (ORCPT ); Mon, 14 Dec 2015 17:35:06 -0500 Received: by qkck189 with SMTP id k189so124678739qkc.0; Mon, 14 Dec 2015 14:35:05 -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=a/UIXzivdZjfdf09NxEf+iIVLU552g9cHLkXE4HOCjE=; b=gkxK2b5x/XM5lSR6Pd9jLORKf9mzxVQUOIC3R8LkRaNgv9u0nzUkmzRMmLGw56yNDt 3+JmnHWgnNrDqMQN8dy1c2WIGmJUSX0/+oDLp5uata6IqJHYwJOzepwrRiaDo2uljue0 lsIUlggQ1TBasjuQDhQQjLK2BNE8w0v5rgMJjdl35wdzje3A8ldJTZWHvaWPoXXTq2Wp YRGUNXIFj1M9TyDWIva1D2mj+EWOCosGfNFVOKEnHbgsJKAPl3qxHwOfxs0xcMnGhdCJ P56DpsB7UOaInM+2ZJwWH5Kt/ieZwv6fryU8ThRp3HbN/HM26FFeSeCyYeTjINJnC/M8 3JlQ== X-Received: by 10.129.97.5 with SMTP id v5mr1715179ywb.269.1450132505344; Mon, 14 Dec 2015 14:35:05 -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.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Dec 2015 14:35:04 -0800 (PST) From: Larry Finger To: kvalo@codeaurora.org Cc: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, Larry Finger , Stable Subject: [PATCH 8/8] rtlwifi: rtl8192cu: Add missing parameter setup Date: Mon, 14 Dec 2015 16:34:38 -0600 Message-Id: <1450132478-2386-9-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 This driver fails to copy the module parameter for software encryption to the locations used by the main code. Signed-off-by: Larry Finger Cc: Stable --- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c index fd4a535..7c6f7f0 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);