Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2420067pxj; Mon, 10 May 2021 02:28:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxQyg4VCSIqARlGpSwsY/vyyqe4xRkVFSNdXPwnd2PRsv12KqXNFjHtQiGW9CPEziE9Rj6 X-Received: by 2002:a17:906:f9d7:: with SMTP id lj23mr24920514ejb.392.1620638911799; Mon, 10 May 2021 02:28:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620638911; cv=none; d=google.com; s=arc-20160816; b=r9BjdWjU+msC8HHAlr3q/pPXvl9PBMxXWXBLkhrqPK3Z3PfmjDwzwBc5o5qsMOEghh kVUE472mKj9LRjxGX5p0fMJlvdObutAN3PNIJuYVOZ+hExCKTz6KBGtwEluB7f5JV7vd JcQnyvC1+g0TxfqNz/ITZ2rfJTyVIB526rnIxwJQXFIuGfl2CqemVhuUj3MblmqvifUW kxuiFrstJb8L5wIUc51VDkfMbu7hgm1DwcQLX2pLAPelitxLBiRwjmgUwFdmJ9RbtmEH Dfx4qBBHhho3P5Qmhzf1qDJaO1VozjSeo7gSKiR5dzAz+t4yOAOY/eV3HYE2DKyKs0LK 7ALg== 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:to:from :dkim-signature; bh=8eS2sKDH/RptV4CgoDk2kx+S81SUzCzAU5Zcp7ZIq34=; b=pXn4q07afUjE2CT2ofDAvE25sMGE6/wXc11euICFkEj5R45ZYQKPuTMlXtzJv2/x5A Nop4xSnk+BLlv67ugUEKUEsRl2HoSuY0tyqZT/21qfvnJDHZxbyAva73Wl0S2G6WHUt7 bXKCvE87f/bGBYDUCreA6fdTORc+FWH0qqnwEG1jMebVJwhUtBLGCXiqUA0dSZy8L8HE 2uCrdUpCGtaiWUX3VoS+bpmK6I5AEvtktrnuKujoWYhwTius0/2p3tJSADT1phnnGyFH TgbUb0U2XElWDLbO45dt3Q/H1gTHP6F8oEupAIsnLjXJJanKmBBAcpswwfy7MJikBjzq MMcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b="K/55vvIZ"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 5si9185076ejw.423.2021.05.10.02.28.08; Mon, 10 May 2021 02:28:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b="K/55vvIZ"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbhEJJ2O (ORCPT + 99 others); Mon, 10 May 2021 05:28:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbhEJJ2M (ORCPT ); Mon, 10 May 2021 05:28:12 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 310DFC061761 for ; Mon, 10 May 2021 02:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8eS2sKDH/RptV4CgoDk2kx+S81SUzCzAU5Zcp7ZIq34=; b=K/55vvIZxv/qdLrEE66GR4MnC9 cKw+A6L8fAsGorLnnDKq1++Flz28kR51o21yLADtNwVDaZ4dFTqOdIWhessx+L5FqehWPSlO8PKMi md0y8sQHHfl6U3oj/KSL9EqjTsEnGGCb1AYIpNqri2QItBmBo8+iMWCTJMbyY5/PLS3A=; Received: from p54ae9ff2.dip0.t-ipconnect.de ([84.174.159.242] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1lg2Bt-000572-LC for linux-wireless@vger.kernel.org; Mon, 10 May 2021 11:27:05 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH 3/9] mt76: mt7615: avoid use of ieee80211_tx_info_clear_status Date: Mon, 10 May 2021 11:26:57 +0200 Message-Id: <20210510092703.90500-3-nbd@nbd.name> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210510092703.90500-1-nbd@nbd.name> References: <20210510092703.90500-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org It overwrites mt76_tx_cb data in the skb Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c index c600a0b2b00b..bef43c871908 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c @@ -1389,7 +1389,7 @@ static bool mt7615_mac_add_txs_skb(struct mt7615_dev *dev, struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); if (!mt7615_fill_txs(dev, sta, info, txs_data)) { - ieee80211_tx_info_clear_status(info); + info->status.rates[0].count = 0; info->status.rates[0].idx = -1; } -- 2.30.1