Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1152187pxv; Fri, 9 Jul 2021 19:41:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUVZyGA4uZozYPRlVegoqC2VviJxZoEfwRT/oJOa9GLsh+le/l9Ef61kCVGMIl4CJWDQJ2 X-Received: by 2002:a17:906:8558:: with SMTP id h24mr9156403ejy.519.1625884886307; Fri, 09 Jul 2021 19:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884886; cv=none; d=google.com; s=arc-20160816; b=YEsvgtnIOm8A337sRi9NXPj9ZVgNtAblxVxrUGW87V9MqO659CEwEVzT1tWDcKa6mp 5xh1gZYkwPZBKiweQHUpcqb+K9I9PhHiUP3pxPSavmf+FO1yvWw/oGwtDNqxrATGK/H6 dP1d5bAyZybuMx51DaNNut72DLkKjE+8SnowfVKYmmqV80P7o6AI9KBpPXN43N01FFnO 1L9oQn6ai4ePwMT12Cv6JBfCJa3KtPqspTA9A+vek1mbEydElkYV8wwNjIC+9TgZlnAO qAE1bbCuHzk1v6Kzr0zLzqja8mlYpnVA3YEHHlTYgZ2uUP9Szk3zTBlcWDxPslNCCw7j z/2A== 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=w1Lbmv1unPsdgnsH5Ag3tbDSK8uB7zKpBc5EIoduJyo=; b=ZHBhv+lMHBmDQQh5CBVgEYZ8u+zsFDTGrLdwlisIZixIOlFmvbM+fhOPNSF7x6UZym 0yklDVuJwoe0n4NYMk5sEVAFTSAHeUcH+a4LVMYCEMNdzOnv6qOpcoAJutQHD7G/wQR8 GPr2/zrQtBuDBuwZnyHHBuHPbtoLG1XrNX0oCiPy4ZvupCDDbMXT6KsA1+h12oy8eth4 Fwapo15RZty6bgjlPWruON5JORwCsoTadEqEICv9lrZdThSqjHYb36XnY5qCQvUgCVsD 8S8EKjj8SISgRELrhvOCe600tNPC57cBYihJJxMWWGdWUZV3eKuBC7L/djxm9h+HfUSL akoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y0L4KCl+; 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 v4si10232156edj.103.2021.07.09.19.41.03; Fri, 09 Jul 2021 19:41:26 -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=Y0L4KCl+; 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 S235268AbhGJClt (ORCPT + 99 others); Fri, 9 Jul 2021 22:41:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:58378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234926AbhGJCjS (ORCPT ); Fri, 9 Jul 2021 22:39:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B7C05613EC; Sat, 10 Jul 2021 02:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625884510; bh=uyH98worKDCuEIvIP5fQMxJG9xlQztNJsqIkPCqEcSY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y0L4KCl+k72C5tZMl++fcq2RqdDfEqYL27lezT/cFWZZBpjS8EFTPrVqQHQvsGwbk lRFZZyMaUAN+5FOhSUN+55Ilo2U8HJcvNTOtNG6AZhy66wcvaThrQHFpZ1YUPqQCLi yMFiyfls8WDn4eWDhHrWjOjDw+AAHCWjlIa8dDvfJdFqFplZXgPrsedEJKd1jgvspm znc+dZYjjySXL+omYuiGpM3DQdv0Q3yFvRNJ5XSgnufmGjtjIcJ9PtNkj/1Rue3hwS rCacfCghHKwz9c7MOQz2YQsZTQFaxPm9wV+WLbCIBQltdiqcSPcx4R9Xynv0rvfp1/ yivuCnmj4Dh3w== 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 4.19 36/39] staging: rtl8723bs: fix macro value for 2.4Ghz only device Date: Fri, 9 Jul 2021 22:32:01 -0400 Message-Id: <20210710023204.3171428-36-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710023204.3171428-1-sashal@kernel.org> References: <20210710023204.3171428-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 23ab160ac2c8..ff8e22d70d4c 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