From patchwork Mon May 28 11:29:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 10431885 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 259D8602CC for ; Mon, 28 May 2018 11:29:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16FEC28C88 for ; Mon, 28 May 2018 11:29:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B36A28C92; Mon, 28 May 2018 11:29:31 +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 7D70328C88 for ; Mon, 28 May 2018 11:29:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938298AbeE1L32 (ORCPT ); Mon, 28 May 2018 07:29:28 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:53327 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938132AbeE1L3Y (ORCPT ); Mon, 28 May 2018 07:29:24 -0400 Received: by mail-wm0-f66.google.com with SMTP id a67-v6so31163749wmf.3 for ; Mon, 28 May 2018 04:29:24 -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=oHlkhOw59wUJL3gUrZ64R5Rl877VpQEXBkHo9xzqils=; b=FwMipl8w3a/Gql5wIYu/qISBb3m+iH8YX+XyUwLc0CmpyALAAfCQuBgGtVIUKrBSMj vxLYo2RhGSfzaYgRqhysHXO4TTLzwxvYSzg32uOt6tUDru6rnYyOUmCVWdcHAUmhIeZ/ UNCwOVmBNRLkG3Uq0glRQFTl5zT0oyVufH2iA= 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=oHlkhOw59wUJL3gUrZ64R5Rl877VpQEXBkHo9xzqils=; b=N0hGxVZuEAZlQgoWYssefWT+1nzRYpviHQGuadEhNAd4VMC5kC/gls1jxZsvKZmkhb ywpkMP/GP4mQNEOHfr+2PpPz0fNQfD4tWT+Ctxlmnu4ekkeKsxmLAc4EaJiDpZn6VI59 wPWANwln15IvRlv2kN6bqIUnirYzeteRRGmt7+jNT1LF+AoVXz/NH6cZzJnhngHpJGOt a0QmJB5xNH04PGG1RVXv/roBf4dXH5Tg1Bz4JApGtiFMLGjMvKTGrGla8bmfdix5bW6g 45DMzfTVpul/+8PXFqEmTJ1C9v+pw3I+uyXMPwIXfl3MEztk6N0OynEbcJFrJkzf5pdH rsKQ== X-Gm-Message-State: ALKqPwfmJhFQjALK2h9ctAU7fFNikF6Mg7QASc8aE/yVtcwyjCsQxmYD MqB1mwBk4RSjSMP3W1x6MCSqHg== X-Google-Smtp-Source: ADUXVKJIqU14E9VuYyacZyI0cAFwj7TaafmD+7ED+p5L20DyatffEQi4iThVRHt460Be7Xq7ZH26yQ== X-Received: by 2002:a1c:aac3:: with SMTP id t186-v6mr1205411wme.14.1527506963656; Mon, 28 May 2018 04:29:23 -0700 (PDT) Received: from lpoulain-ThinkPad-T470p.home (LFbn-1-10589-161.w90-89.abo.wanadoo.fr. [90.89.181.161]) by smtp.gmail.com with ESMTPSA id c18-v6sm16020324wrq.17.2018.05.28.04.29.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 May 2018 04:29:22 -0700 (PDT) From: Loic Poulain To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, Loic Poulain Subject: [PATCH 1/3] wcn36xx: Fix WEP104 encryption type Date: Mon, 28 May 2018 13:29:18 +0200 Message-Id: <1527506960-13358-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 Signed-off-by: Loic Poulain --- 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;