Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1149567pxv; Fri, 9 Jul 2021 19:35:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztoMP4qkAbKSnEdc9YRqJRL2JN98JHS3FHcrnzIJ6xr69jtRKV/YW9pgZLPTJgCOZ8xE/l X-Received: by 2002:a17:907:724b:: with SMTP id ds11mr33269283ejc.192.1625884550997; Fri, 09 Jul 2021 19:35:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884550; cv=none; d=google.com; s=arc-20160816; b=OAI5J2p6SF+2DbEMLBBN0DmCNnEuAK0aLe/PzibSZVNeBE1pbqXyGv6RTn9kMcFu5v Af3u/QAEGYkOe+fXbYAmYvi+0Vy+mkUFrERSAZsZjFzSVjvKRZSWs2u+BX4zj3LiIwLn 8jDRPGk+G+qODBb0Zwxk+ypF/8Mu0gHKBB779Q/4lzrBm8ssxBLvNQrX2TG27YXWnngP okdIZad9DPtHqU5Xh5mDAS329hpwGArpNBkQkOMxUXPnDy5BSfDBmrzHyqBnhoX8Prr7 pEJrks53mEPVfjsT/hASoGWqtv2ILRPeMvUpghvmvMNCVxHt205APIw8kPHk3qiSo4Zy uvVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ftIjWxtpLIzKalpKw4AasJRZnWBmn3mzePLYYMoFVKc=; b=eiKzYrI+Xo9TcLrp4ZqOkjpaTVsOz4HVf8pH/MXaXrst9O0I8Omp2/gdDbGnks19h3 kuQ4R5OE4kdyiJephdFOQp7QjIw65+R5BXwfr0HmKQdgp7CNYEYrAYR9gXtp0oNHTC/z JjSb5zjxKdicEoPYNvpZy6csAYDS12DmnYR8aUDZynPNLc/hXOQVEp19xJpUivokrWki JFojDwJOUzIhodrDGpQGVrJoDgHRzL6LCUzojLat4pXAaf1RJ93kRWgEPx2+DzTyr7v2 ndOUSrfYWIDq2y9sREBfnuPJgo48vtGK5Af8FG1uKfxAnVQ7f/3NuUiVgJ7UzufGjw5o pehA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lW0kZW7a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j2si8731147ejo.509.2021.07.09.19.35.27; Fri, 09 Jul 2021 19:35:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lW0kZW7a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235146AbhGJCeh (ORCPT + 99 others); Fri, 9 Jul 2021 22:34:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:42628 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234708AbhGJC3m (ORCPT ); Fri, 9 Jul 2021 22:29:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1586F613D9; Sat, 10 Jul 2021 02:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625884017; bh=JZXQHFg4/VJ/jucyBM7SkBKJjHxpQUEN45s+FDtcn6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lW0kZW7alJU4cQnNZqJ8BJEGzhT6hE778ICZGMW5tYFzOFuoJYjF8J3XnjpAMl7Ah 2eEX8MfsZx1Bn98gi8ldl6r78WDi6C2al+SHBF57mUPtWdEWfqPixTPdKHFD8k+DRU v72w3p+2sMa8fU03bnVzigogkIx5pyOKu2m8TYmyxmRHa+LOxjp916jeiJk99fBsfA BqSfSZQkZCNbzE7JRcQVNnKYy7quig76onC2UABC+dD5RnAoidCxwEoSFePU0roB0p vFAGhccwny1AI3vFkKvJHCMrHm28NqVh7Ipbrr6XzmNhUlgBKCKiQ09LncG5SCqygq VZiCl7hfT5MTw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Fabio Aiuto , Hans de Goede , Greg Kroah-Hartman , Sasha Levin , linux-staging@lists.linux.dev Subject: [PATCH AUTOSEL 5.10 88/93] staging: rtl8723bs: fix macro value for 2.4Ghz only device Date: Fri, 9 Jul 2021 22:24:22 -0400 Message-Id: <20210710022428.3169839-88-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022428.3169839-1-sashal@kernel.org> References: <20210710022428.3169839-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Aiuto [ Upstream commit 6d490a27e23c5fb79b766530016ab8665169498e ] fix IQK_Matrix_Settings_NUM macro value to 14 which is the max channel number value allowed in a 2.4Ghz device. Acked-by: Hans de Goede Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/0b4a876929949248aa18cb919da3583c65e4ee4e.1624367072.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/staging/rtl8723bs/hal/odm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 16e8f66a3171..a8d232245227 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h +++ b/drivers/staging/rtl8723bs/hal/odm.h @@ -197,10 +197,7 @@ typedef struct _ODM_RATE_ADAPTIVE { #define AVG_THERMAL_NUM 8 #define IQK_Matrix_REG_NUM 8 -#define IQK_Matrix_Settings_NUM (14 + 24 + 21) /* Channels_2_4G_NUM - * + Channels_5G_20M_NUM - * + Channels_5G - */ +#define IQK_Matrix_Settings_NUM 14 /* Channels_2_4G_NUM */ #define DM_Type_ByFW 0 #define DM_Type_ByDriver 1 -- 2.30.2