Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1145806pxv; Fri, 9 Jul 2021 19:28:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTfX35z9HRV/LKMrcI4gS0Cu2TLm4/7qvoj33cJxXBeNaxuUKGub2xYPoA+a3p6nuqBBkd X-Received: by 2002:aa7:ca54:: with SMTP id j20mr19976842edt.137.1625884102503; Fri, 09 Jul 2021 19:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884102; cv=none; d=google.com; s=arc-20160816; b=jGv4u4pt7wy+c1jm/bIASoffZ/LM8ZWbOFv+QuDwdTeuft8SFVs6sHEkk3MfTwyKxQ up/kzBDtzraINMnnoy1VR3/w9DJVtw5+kO/l1cJ6kW19u4vmdRwMU+WhnknNiMfICdNn lJx1wo5PQA56C9dBD4oHYCp6dYVX4ifBCG15AFasss+lvS/js4jz0R99Xesjdx9H0PU8 oazOsHbGuOhVLjYQE/LW0C5FUHb997PrBwb0VCDI663tEG8ABFIuI7l+7rnCJ/tASlXp 5+fn+KNfnkYkuSUbZxLzr6wy0fAfms0aV0lTbSigDIBpXNv4dgw8JkXfyIUj7L8gnORZ wOuw== 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=sAT/PjPyV+h06SOOvACdjgKGTD4dj3IKBjK7ycyeRWmw6VY0P7INteQTbX/qmwQkal Efu3CKXgzu6jm7Kf5njln6skyFxGBS8RdGlYG35y34FuvF9n2aMQupUxIqUh+xDhPfHk OmcPSXMWT4PRIfyQS4GC9x3dAvISkL63nVBnA8FAxBBheWIL38IOdeGl6xEOIBxk6c0n IlMpna0wN2cP7Ttv+HSN8h0NQhLgExYZ9o7R2GnmynAbUBOX3B4k99JRD5yEbwoa5Baa HK6iFEXPUiy1Mhkhcc5UUa485AVuPDZqkv11SHz0l/eaFqLBEHjTes48MlDQSFU74Fbu RGgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZG8L8rFv; 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 ga21si9374979ejc.675.2021.07.09.19.27.59; Fri, 09 Jul 2021 19:28:22 -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=ZG8L8rFv; 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 S234213AbhGJC3Q (ORCPT + 99 others); Fri, 9 Jul 2021 22:29:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:42704 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233558AbhGJC1O (ORCPT ); Fri, 9 Jul 2021 22:27:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 50334613E6; Sat, 10 Jul 2021 02:24:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625883857; bh=JZXQHFg4/VJ/jucyBM7SkBKJjHxpQUEN45s+FDtcn6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZG8L8rFvYGbKCnkV+lA/WNbpBsiEvjEXRBHfCt0/l6lxi4PKmkHsjR8ON8Pct4BnY HKZgJWb46XYLfY62TYHtBoh1p7eo7srcCzH3UF4s75zs+MkCRWZD2jdra2JiJ0hQyf lHf4Ab+sK84/4OMgtMw9BO4rcr6QXkiNnltkS4DavdkuAJkSAMWtyN7IrASc0035o2 wNJgL6CNkhNoDkI7xvYV4RDiI/peek9meKCFhycyE8CJFdTlP5MiKYgFbu401HP9Jx OJb0FdbMwurnmH7vlRrlfurt7hl7RLIZlTk6LzBtZYO9pymwebV0fEQqgEFXADSK/l P/cVUMFMHmctg== 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.12 099/104] staging: rtl8723bs: fix macro value for 2.4Ghz only device Date: Fri, 9 Jul 2021 22:21:51 -0400 Message-Id: <20210710022156.3168825-99-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022156.3168825-1-sashal@kernel.org> References: <20210710022156.3168825-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