Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1136325rbb; Sun, 25 Feb 2024 22:42:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUhFv8EZs3jSBZStd0X3Tk9/95ejo77janK7yE/IkvaSSeT37ItRtRD3RHAZjXC8G1S0ZxjStmPGKNB8TaDkZ/ibB6HpwTjqJ1UUHBKQQ== X-Google-Smtp-Source: AGHT+IGrTiScl0hDtO1oNOUcxYxJtNmt59aGvSklh6fSbOI8IDPaX7fgtPyOozTbdCQo6q8lupx0 X-Received: by 2002:a05:6358:289:b0:17b:5c97:28e7 with SMTP id w9-20020a056358028900b0017b5c9728e7mr8806572rwj.5.1708929744537; Sun, 25 Feb 2024 22:42:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708929744; cv=pass; d=google.com; s=arc-20160816; b=JvCQzKA5ExRR9M2OZ6Dh8w4gaQI7ntzQyQfBcDXtwebut4huCqe0idYwduvpryKTTt S0lZn02Pz2wQa5w5O5TbSoo7uJ42NUOybILgnGcfP5Jh0r4VPWNwoTLTZhAWP9uDBdoH KEcgqUHFX0dsX5BvpGQvz6MSehwAWj7W22HtGHqgg3XPakLZ3iN+wY8fFkfRDmkTar6G 8OX+AVxYQvepN7efyDjvs0i295iHlt4COLCGD2GPJzocrxThNpnXdLIWquQuwKQ9nZpq tHu/u03Dz2s08qltH4H5vRRR7CDXOO3kLUCd4Cb837bcbl4HNyVHY/gq+CZ52i7Y+hOJ DANQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:subject:to:cc :date:from:dkim-signature:message-id; bh=dhhClbjQ4fTG003rDPn1QRj/2kBo2uNBq1zldThR+DA=; fh=nTKKgWwhOkxteIxf7WQbR5POc82cho89nH78v03M8/4=; b=H56CzV+GWOH2Sa33SJGkfNIakYCsuwZoD5BP/Z8NdZTnwgVUAp9ZrHo3E6NnL3xcde QVAhjVW1YQQ5n8GsNZyft5qxY8Z2ZVygxna41ANmH8s5uXbObs6ORcjfKNntLzzrS2H0 a3QI1CqiFrnJ7CEsqP2S8fDgAhSXx+7xpcNTID7EaoclWXgq3iPSB6znMQgQSb0J++oc iyYh7F9SLxMHA063EzjXuXiGcDMZ+kv+OO4i+K50cGmsRLhOEXVZOjOrQHIStebMIyeL J6cHWk5bzsmylmIN0o1DJwwrgj2Y/xd+cwRT/yfB58a+dmkXQjjjbaYqah0GtnjavKBh +Qow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=KRxhKicw; arc=pass (i=1 spf=pass spfdomain=yandex.ru dkim=pass dkdomain=yandex.ru dmarc=pass fromdomain=yandex.ru); spf=pass (google.com: domain of linux-wireless+bounces-3994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bw22-20020a056a02049600b005dc788f3767si3353883pgb.620.2024.02.25.22.42.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 22:42:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=KRxhKicw; arc=pass (i=1 spf=pass spfdomain=yandex.ru dkim=pass dkdomain=yandex.ru dmarc=pass fromdomain=yandex.ru); spf=pass (google.com: domain of linux-wireless+bounces-3994-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3994-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 63A32B21BB3 for ; Mon, 26 Feb 2024 06:40:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAAC917BCB; Mon, 26 Feb 2024 06:40:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="KRxhKicw" X-Original-To: linux-wireless@vger.kernel.org Received: from forward103c.mail.yandex.net (forward103c.mail.yandex.net [178.154.239.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86504175BE for ; Mon, 26 Feb 2024 06:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.214 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708929628; cv=none; b=oZXpwvHf9xSD+sLG9bb5ufa6aLR51JRnY6QrLG6jDNa0PRM62YYaZ/9hm5WtDqmZm99ZbsBqur4jpT8mvSfFN1ieH/5ntaQQx/tA5tfX4rp1Iz/lvQKPXrO3w5JO5L5/K0E/UIdPXW+7kAfJNrXXXrJyfA0ZFdL1yc5gLO7C+Vc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708929628; c=relaxed/simple; bh=bXbkr3Ua7gnH0CladtXLi3lDiAFSa8BC8xmtXLqmFEY=; h=Message-Id:From:Date:Cc:To:Subject; b=ml6IpgZKq8/mMpuZZkkQ6Sx+MIEBb/qSuAolEHUlzEHqmEg58B0kzpoMmsTtaFWhRRN/zLaVrHQtyYUmK9Gh0R6Wo3WkI1kIlC7r11ycIoxu7w2Ud7SpbYV3hra93u+n2w79kh5SDsCnFgoKIEGTPP/mrOaidgGKhsuNiPaxy5A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru; spf=pass smtp.mailfrom=yandex.ru; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b=KRxhKicw; arc=none smtp.client-ip=178.154.239.214 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru Received: from mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:2214:0:640:d6b5:0]) by forward103c.mail.yandex.net (Yandex) with ESMTPS id 5AF6160B73 for ; Mon, 26 Feb 2024 09:40:16 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id EeQ2Vo5Vx8c0-1JaTRGbB; Mon, 26 Feb 2024 09:40:14 +0300 Message-Id: <20240226094016.1JaTRGbB@mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net> X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1708929616; bh=dhhClbjQ4fTG003rDPn1QRj/2kBo2uNBq1zldThR+DA=; h=Subject:To:From:Cc:Date; b=KRxhKicwPkH9QOy8yngKFT43jdkKNtP1y+t1XsojKV3xMqALGUEwMt91DbyXPVVKp IwZTeWumUTP3ViRFJiFqXdo/FfO9+QGcrpwRkg1cHSRgXZoVDTqnsl++G78HrjnA2T 0yxUzC7/MjBIiGV39A9060c0OVaUeOXddOrFpkEE= Authentication-Results: mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by localhost (sSMTP sendmail emulation); Mon, 26 Feb 2024 13:40:14 +0700 From: "serge" Date: Mon, 26 Feb 2024 13:40:14 +0700 Cc: Stanislaw Gruszka To: linux-wireless@vger.kernel.org Subject: [PATCH] wifi:rt2x00: don't overwrite SoC specific bbp init Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: SoCs rt305x have the same MAC version but SoC specific bbp init function Signed-off-by: Serge Vailugin --- --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c @@ -7257,7 +7257,8 @@ static void rt2800_init_bbp(struct rt2x00_dev *rt2x00dev) case RT2860: case RT2872: case RT2883: - rt2800_init_bbp_28xx(rt2x00dev); + if (!rt2800_is_305x_soc(rt2x00dev)) + rt2800_init_bbp_28xx(rt2x00dev); break; case RT3070: case RT3071: --