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: 10476621 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 506B3604D3 for ; Wed, 20 Jun 2018 09:01:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41E6B28931 for ; Wed, 20 Jun 2018 09:01:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36A192893B; Wed, 20 Jun 2018 09:01:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D887B28931 for ; Wed, 20 Jun 2018 09:01:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754777AbeFTJBk (ORCPT ); Wed, 20 Jun 2018 05:01:40 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:41666 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754235AbeFTJBh (ORCPT ); Wed, 20 Jun 2018 05:01:37 -0400 Received: by mail-wr0-f193.google.com with SMTP id h10-v6so2413690wrq.8 for ; Wed, 20 Jun 2018 02:01:37 -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=JtX9NrtPVTTTC5modVKXa40WzN6G6PZ+KWRGAuLDvXNLKVXAfBzdUC+B6EXCDyYFPl U2uNywBmTTx0fXQ6u8fYIjvFHJErGBBth7myTYse3J7Whp1fCdWH4Qt8DtOnJy/bknOk /7dQlBzqTSz5Rk+jJkFOpeaih9aTGY8wcdr6eSkaHc1LbXn4I7BDbakmp9vnWLzMu/4Q pI8r49/X+Annt/dcAgYjhNpEVw0AdOK/vsbuJ5r7tlJKVuavFfutB1V69iq+YyMGqlzz gPDm7I61vmj4Tt9ea3g4PgZXA2vOAyNyKeHI2mkvg2tenpGrlq+m/s+CsBmlJ4+yuF4u orog== X-Gm-Message-State: APt69E2oscBxCZ1wwHBglTy9goqF9ReAYd+5OEHUX4AU+fkKeLme/15m KkmoZyb/5lZKjqUxy7cMyELoKgyif60= X-Google-Smtp-Source: ADUXVKL+4Y2iNRqyn9SlWzY6kCrl+1UV5rWYs3qid8nS7g8AGQVTCz9Oqdyvvh8Gyx+Qy6r+nTS2Tg== 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 Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, Loic Poulain 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 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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;