Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp994407ybt; Fri, 19 Jun 2020 20:56:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG7PNufVBYbf0RHAQUomjsI+3LnA6xF1C/GjY5Fe4DoRvzE4Zcp1aCj9j24nn5AeNM04v2 X-Received: by 2002:a17:906:73d5:: with SMTP id n21mr6811360ejl.24.1592625412759; Fri, 19 Jun 2020 20:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592625412; cv=none; d=google.com; s=arc-20160816; b=L7MWkjwIMIIkN+jz9+sxwurNDH7PmC3t/CsqRcjbmR5uNoGw/FFkfpNEu0gBHeF+Ex pQpApUAtph0UUyiYlnVVob0CPvzsAKqtXu2bLoRdY7bm5cMp4tkEjITEk5xYHvBllnfx OFckZ/jF8hRv/duvLdaZYBpGOn9R/fcnuComkQ+WETzZSC+52X+lepcovmGFi4rj1h2k uc2XEqXNABmysP22v45qB4E5BO8fwcTZb/9JZcOBmyWmMDlz/D1EjvMCE18Uo/F89MuB aco1I848fM5DPa5VLMKs0yMLWmyir6rc9Kt6WdnvjOeNp9QAtxkTav97I7ic9cBq61SG qiIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=33GyCsrwl6Z4bLBPHqgzlietG8yjQXnJhv8zKVUOla4=; b=LkLJ0YNQPFVN7xWGtsYspwTLXi9u5KUROUPXLXTt1PAeunuTqx1KIr+ZOQWKjVLiFD 4oHykmbK4B5QFpoUqOM1EsHS0KCUdHSFlenHU6UBwajkNYh0/v3ZCpFgvo7TODQOF0T4 X9OPA9zqkxb1iDNYTu1agzJ6t4lLjJQUHyg4sqFTRgrBUtLxF9XVAodhASIO8x8VjEYN G54fa2EPybFmQ4hHrtrww57G1Va7MQLJx7QjAreavNitT5hMPBjAsQvR7beSU4Q8Hex9 6XYsfyhcje5jk2CO+Mh6ZiTwTVgF++JFG8FvnDJyEFMEIBT3CSRSNb5iQGgGZvrvCVQh x0XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Furgnt3S; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd12si5101546ejb.59.2020.06.19.20.56.30; Fri, 19 Jun 2020 20:56:52 -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=default header.b=Furgnt3S; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389747AbgFSQ3G (ORCPT + 99 others); Fri, 19 Jun 2020 12:29:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:49408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388632AbgFSOym (ORCPT ); Fri, 19 Jun 2020 10:54:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5324421852; Fri, 19 Jun 2020 14:54:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592578481; bh=5nAVtwoFHCoPigIxGOY2qWRJl5r7Z7evVNEqTcc2Ow8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Furgnt3ScEvgLiYqQE+mTgCqrep1uSdIHe/ePtjOaxtJv7m39NXpcI1K2isflhvUx Zgk6SWWWmRNRI42uBonmFvtPKkhB60b/5Jj0PGvEsTYGmn8gzqUQrbLK9GiUu3VWor a43XTvch8qegvP1NIZFgwh9rUnMYCHPzTiPf9S88= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Denis , Masashi Honma , Kalle Valo , Sasha Levin Subject: [PATCH 4.19 021/267] ath9k_htc: Silence undersized packet warnings Date: Fri, 19 Jun 2020 16:30:06 +0200 Message-Id: <20200619141649.900623413@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200619141648.840376470@linuxfoundation.org> References: <20200619141648.840376470@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Masashi Honma [ Upstream commit 450edd2805982d14ed79733a82927d2857b27cac ] Some devices like TP-Link TL-WN722N produces this kind of messages frequently. kernel: ath: phy0: Short RX data len, dropping (dlen: 4) This warning is useful for developers to recognize that the device (Wi-Fi dongle or USB hub etc) is noisy but not for general users. So this patch make this warning to debug message. Reported-By: Denis Ref: https://bugzilla.kernel.org/show_bug.cgi?id=207539 Fixes: cd486e627e67 ("ath9k_htc: Discard undersized packets") Signed-off-by: Masashi Honma Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20200504214443.4485-1-masashi.honma@gmail.com Signed-off-by: Sasha Levin --- drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index b5d7ef4da17f..f19393e584dc 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c @@ -999,9 +999,9 @@ static bool ath9k_rx_prepare(struct ath9k_htc_priv *priv, * which are not PHY_ERROR (short radar pulses have a length of 3) */ if (unlikely(!rs_datalen || (rs_datalen < 10 && !is_phyerr))) { - ath_warn(common, - "Short RX data len, dropping (dlen: %d)\n", - rs_datalen); + ath_dbg(common, ANY, + "Short RX data len, dropping (dlen: %d)\n", + rs_datalen); goto rx_next; } -- 2.25.1