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: 10476763 X-Patchwork-Delegate: agross@codeaurora.org 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 3741760383 for ; Wed, 20 Jun 2018 09:37:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 294A628D11 for ; Wed, 20 Jun 2018 09:37:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DECD28D97; Wed, 20 Jun 2018 09:37:39 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 C6E4628D11 for ; Wed, 20 Jun 2018 09:37:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754418AbeFTI3q (ORCPT ); Wed, 20 Jun 2018 04:29:46 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:43184 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754385AbeFTI3k (ORCPT ); Wed, 20 Jun 2018 04:29:40 -0400 Received: by mail-wr0-f193.google.com with SMTP id d2-v6so2304376wrm.10 for ; Wed, 20 Jun 2018 01:29:39 -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=RyFuER0VFyqM+5PmD3zk8LZoMRVKrEpq5mJE+G4lXUEadKFiTdbYR3ZCDuq60La8Bb 6/JMDGstQwKEUcgef3yTuhNKxHN4JOL5So3J9zqX+F/vmZ8AhyBZcJeKa11chrhLhKvF ie3hIfOTZaxmfipSd0Bd4i2r/1GmKVHwhMxvFC0fKVLluQ6qWyLqg+vgZ9gHYTRjz6Gi 9mOBLWXuK9ugPx/CvULbs9AcYfviulhkA/6LvqwCvipbNXT1C+xtuosmxJg9TtbZaiF1 upoKA37TRGmjnR/8ZxPJj9YMZowNWMDQDDqPvu9QX+Fu0WyNzcEAbJsMMewEQ5nYVbRz vGOA== X-Gm-Message-State: APt69E3pEn90DgrXgjbaM6AThnln3ZdhN/nTWJ+dDsc56JlXG5nOMHOA A4ezGEtcL1kmAO054BIu2jNu3A== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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;