Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3849761pxv; Mon, 19 Jul 2021 10:12:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwthy+HIFtbj0Ei5gNiTOu6AKnEdWkskdcaOSc5swiEENnAgTzftDpFOmorCDsznnWKHw3H X-Received: by 2002:a17:906:4ad9:: with SMTP id u25mr28011375ejt.174.1626714756524; Mon, 19 Jul 2021 10:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626714756; cv=none; d=google.com; s=arc-20160816; b=A+eBj8wnBtLmSxrfNHDO0Gwphb6dCJv2lkG1O6L/7r0TqI77j8ZJgcs7bWfwAvceGz cclR56w/IHWNucJXeuFlUeAUWepYS67vFbxVgJ/7ilwd4yeSj9DIQu8E91pJAHoepIiv y+KU/3sZynCWZO7+UtOxbWgBeAR+DLPGf06eP8H9g1YVSK8r3LAlR+hbBtvtizolChWR fbsnXdYJSlSWOAvY/2fMKGIZ3omANob7ea34LNZYfJzoFdqYSGapiWyo7zbIYbRzGLJz T8o0fQlYgxKVyuDKk3fBFosYaaF8WTEyvmZZaEs1wvgpyJxEtkVzSJH2A0F2Ptdd1MeP nVxA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ftIjWxtpLIzKalpKw4AasJRZnWBmn3mzePLYYMoFVKc=; b=KfALWwvBVCUTvYvJmvhTQku+MBUOzukGbSN0bnzsrRlA+Zz6QpIsfRQ5ZXowqW9pC8 V6lQh+mLdqzkKH2+4cNWQ/MDkKSjeNJCiF7sqrib8PtYxu2GyyaiNgv7Jrc9YcQg92ZB /lx5fkOuxK+8uJMeS2jsh4KBuwmKj3ipy2F28Y4to2YST7W2HgDMehpSFWp1V/ZeYTll DYNl3QfojlCF9ERQAJmTCe9Ing5uR0wRmRV/zmCnVSSxrjYUJ8AXR+pS8dz59cex39GK N+11qwrXD7au98Ur4dARTuUzov1yrnpZ95K5qYwbV45659K0nMxGu3YBV+HHJnwqOa2x rWlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=n+Vvy3xn; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gk1si20884166ejc.31.2021.07.19.10.12.12; Mon, 19 Jul 2021 10:12:36 -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=@linuxfoundation.org header.s=korg header.b=n+Vvy3xn; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353089AbhGSQZp (ORCPT + 99 others); Mon, 19 Jul 2021 12:25:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:55734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347074AbhGSPPd (ORCPT ); Mon, 19 Jul 2021 11:15:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4EF1E60FD7; Mon, 19 Jul 2021 15:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710172; bh=JZXQHFg4/VJ/jucyBM7SkBKJjHxpQUEN45s+FDtcn6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n+Vvy3xnH3zsU1LfNhqpfPe+wmiKEN5XiLXVqZfMRXpbgY0BPqeqwt9q2AF5I11gM ehZwOcIDSMyOayvjToVusKj96Epurqy1uV5hpzqniEsDjhyMbOsFEot70PN9Af6B+U 7kABP3SaRfTWTkAEmQYLeTLu3VZ6FDWiDxPuyawU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hans de Goede , Fabio Aiuto , Sasha Levin Subject: [PATCH 5.10 105/243] staging: rtl8723bs: fix macro value for 2.4Ghz only device Date: Mon, 19 Jul 2021 16:52:14 +0200 Message-Id: <20210719144944.296944291@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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