From patchwork Wed Jun 20 07:57:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 139286 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp470208lji; Wed, 20 Jun 2018 00:58:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJuShFpPLUASJq/hcirGTwFWf68iq6vNDAgV7Wme4tDZ+gphQHh0ogE08HOwtdxeLlOYs5e X-Received: by 2002:a63:5f8b:: with SMTP id t133-v6mr17809052pgb.68.1529481503297; Wed, 20 Jun 2018 00:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529481503; cv=none; d=google.com; s=arc-20160816; b=FJ5QPkppp2REGhfck2o4AQXF9Zkzu0rzVKBYzWctIFM2cYqWUVDIK5PllDNB8z8clz rgQcBx5hH1ouxMgqNeGtGwK//aSPVC8lNyoiFO9rQGuD4IFvEynmQcHykitvXLXZxT/t kALQNZI5J/xK+9vphu8iMKVwE0qOPuD3W97te8uZuSUMm209RAeR4tpAc0BqL6+BXkX0 NHa0x64HZSm8zOznjYLEruLwWjw6n6mTLxKPe1PMteFN3j5EX2/mL1pI8s65RYsKyz9i Qtk73gAdpQGUJ3qBMRX8ELKV/UUmPYHLBqn8yQLMvoezOCb5lBxgDJ5cnxU5FQrNQy7G qTHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :dkim-signature:arc-authentication-results; bh=Qk1pTn1wdC9+JVgYMb988Knevr68uRZapQXr23Pu1EM=; b=AbojO4JVrDyJlxDC8xew8eeRvYwi/0rpv3iOVIWaDXMcLP7qdnp9dtPlj2FiJC9KuD zHmY4W68wUZuWIT6z36hPLeIE8QCrDJP9JL+0b6f0966CIdsg02qrdaBzgXbAs6T82lf mpqloXzxwUAqgq/FcWyOngWGss8yodIeK9Nhu5tGiHTIGB6VlUDvS0ItVqO9Q6PeFjuV 814zwKIKx7Ksm9yHWPB5F+x3Ri8CzEM1G2pQYDQPD9m0oWLfRB4i6OlEp2h8strJWE8Q sz6vBb1GN81k9adkQQbPjVSS9FJ7VSY7Z+EFRI0jQpnltYRXe+jceCsVRzXaf1Ummsjz gu5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=ZbMgjxBV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="QzQ/CrqP"; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="wcn36xx-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id w5-v6si1691540pfn.109.2018.06.20.00.58.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 00:58:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=ZbMgjxBV; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="QzQ/CrqP"; spf=pass (google.com: best guess record for domain of wcn36xx-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="wcn36xx-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Qk1pTn1wdC9+JVgYMb988Knevr68uRZapQXr23Pu1EM=; b=ZbM gjxBVQHMupqiwJ4MAPg+v0Oc1+YJFAnOyfyPER4XiUaCKlzYk7+Pfm1Nf/ySEynTwxsu61+Fg2Goz nrjABs9KqAzZhujRg2oMAaPFHw2fPqEmEDjrGGBlPo+P3lXX45yxl5NCsLdjA1K4MwfA/2nSEYZpT LoEwlVSjRZb1UomlPYp+w8WtwuiusosKZ8PJy2lPvATT3uy2Wzj5NW2pYQ+HcsReSwP8usII+s04b hJRikg9qKkgM4fiJJSZKyBSra2c2snTT2OPw9fp7/hcQN6CYlH2iV4W4cuGQkng+OuuHo92gOn2pk obPgy3L0mPWXogiw5L3yXqVOoj8cU5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVY0T-0000sw-0b; Wed, 20 Jun 2018 07:58:21 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVY0Q-0000r2-1M for wcn36xx@lists.infradead.org; Wed, 20 Jun 2018 07:58:19 +0000 Received: by mail-wr0-x241.google.com with SMTP id h10-v6so2198845wrq.8 for ; Wed, 20 Jun 2018 00:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=dbZrRaB0czkRnj8z+Ey3qGhhO/Da5gETVp0lwnL44+U=; b=QzQ/CrqPT+Dg0LDLRlYZP9cqXduV1IfLyBHAyce6bmqgWFyhh03Y1d9uXxBRr78I3s HLAo66B2plQx20RjDbuLUmuJ/WCbiHUWNuiQmTFuAHDsdwvo3TJTqIGxWUqzIfRvFlWi /gpfPSfDASKMKaJDsRV4K1P0CnElPdLZ9GaV8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dbZrRaB0czkRnj8z+Ey3qGhhO/Da5gETVp0lwnL44+U=; b=eOcnaUhr07ntg7aN7bi8XxNqdtVI5u8mrdPd5r3kOoqLVK1jGq0080iQIyzzHhU2Ya TjCq0vuZgNrSY7fXPwMJ6de8wNFYrkzKuabSP3v3tON8+lfdqVp1dgDYswwl4wbC07jq NgeiJcMJ6T5FWRHiSNo+WEBJuk8zQ69OjqVStjA89KGCeIq1z7T0nwiRF4sNbplHRlkd X13Dd4CgzWfGPBxKBSIRuyPquCuUXkoAGUA2tVTRgMa0hdr6c+oKsc0jZrpwQ8UOg3SU A4ZvudihMlF7PxFHE45OvqNc7kJjyN5/ICsoNi/SLQgroiy7aCZ6kiLR4atzygr1SW23 AjyQ== X-Gm-Message-State: APt69E1Nn32MLCMjQ5oYTezJYPptDA1nVkhPFRzWpNnsLzppNWhMeQ91 OyeN97+UOpTd/NZMf9+2rWMX3A== X-Received: by 2002:adf:858f:: with SMTP id 15-v6mr18002347wrt.31.1529481485802; Wed, 20 Jun 2018 00:58:05 -0700 (PDT) Received: from lpoulain-ThinkPad-T470p.home (LFbn-1-2080-109.w90-76.abo.wanadoo.fr. [90.76.145.109]) by smtp.gmail.com with ESMTPSA id 12-v6sm2806393wmt.19.2018.06.20.00.58.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Jun 2018 00:58:05 -0700 (PDT) From: Loic Poulain To: kvalo@codeaurora.org Subject: [PATCH v2 1/3] wcn36xx: Fix WEP104 encryption type Date: Wed, 20 Jun 2018 09:57:58 +0200 Message-Id: <1529481480-13247-1-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180620_005818_098363_59F5D463 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c0c:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: wcn36xx@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wcn36xx@lists.infradead.org, Loic Poulain , linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org MIME-Version: 1.0 Sender: "wcn36xx" Errors-To: wcn36xx-bounces+patch=linaro.org@lists.infradead.org This is an obvious copy & paste bug. Signed-off-by: Loic Poulain --- v2: non-empty commit message. drivers/net/wireless/ath/wcn36xx/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 _______________________________________________ wcn36xx mailing list wcn36xx@lists.infradead.org http://lists.infradead.org/mailman/listinfo/wcn36xx diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index aeb5e6e..4648a78 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -512,7 +512,7 @@ static int wcn36xx_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP40; break; case WLAN_CIPHER_SUITE_WEP104: - vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP40; + vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP104; break; case WLAN_CIPHER_SUITE_CCMP: vif_priv->encrypt_type = WCN36XX_HAL_ED_CCMP;