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: 137069 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2703076lji; Mon, 28 May 2018 04:29:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqarxRB7ySuOiVwdIadQVlFGjWLxIkqmenfk6ppW8aamWURiyXU+A6ECghw+tR60cvGwBg5 X-Received: by 2002:a17:902:8a:: with SMTP id a10-v6mr13163035pla.89.1527506970941; Mon, 28 May 2018 04:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527506970; cv=none; d=google.com; s=arc-20160816; b=NdTZame7/CPesidUW+p52nx2B1biKFpebxfgyRZFpwT19T9eYZVMgKGMm5ic9Vt+Ua V0ZSdgWOvP5yP0IR+uoYnyia52++DWatKwhAOMAxAKwHgUZX+RSHGbUHCmdhx87f1GE3 R+99BN8LP5yvbzQr0tTH1tz9sYbyL9oypKdW7w7QQrewePa4vAtm6Nl5/9osTWurKk10 fzeQyHpZf+v0iblV7vtmax6gBMJG48oD8Cw8sHtrmPoOJzpW2nsABsbTD2B2vc0yuktV qESBdhFX9XDttCDiOVquOKymDM7ZVw19wwIjrHF9rjvARG7oTGrnPjv2J0Vg7NRmWnNw hkFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=oHlkhOw59wUJL3gUrZ64R5Rl877VpQEXBkHo9xzqils=; b=Yu6ZxWa6ctCsr7jgf6nKB+PVdfzG3wyJ5l5aX5uWQN5Xb0mPWrI8sG0+EiII2Sp4j2 PpNrEhVyVaDj3wzXe6HPMmBWIP0L9MDE/A+KkfFZS9Cx9wRA3etBB7zd+95L4xmUSr0x d2/8Nw5O5Z4SQDD+Vxp5+OE2bLh72fYEGAXjAng0kNY1ExR+u4nVEqn2meA3OgeNiUhG VXvmGey9wxOZwueN3smF4T7vnxrK1+b0PigDPnqwbN8+UpWnU8WLninSUFBYijDFWja0 YZnvd+hN2m8wB/+Dj1xpdmiouuYgTtP/HkQqH9EhkdLv4LXd8oqay2i/4NTR9WFofN40 nXbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FwMipl8w; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3-v6si13505166plb.529.2018.05.28.04.29.30; Mon, 28 May 2018 04:29:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FwMipl8w; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938298AbeE1L32 (ORCPT + 3 others); 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-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 Signed-off-by: Loic Poulain --- drivers/net/wireless/ath/wcn36xx/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 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;