From patchwork Wed Jul 19 19:19:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel C X-Patchwork-Id: 9853131 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 40008602C8 for ; Wed, 19 Jul 2017 19:20:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3605328784 for ; Wed, 19 Jul 2017 19:20:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 348B8287BA; Wed, 19 Jul 2017 19:20:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5500C28784 for ; Wed, 19 Jul 2017 19:20:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=aA3KeE1kbzr+GObZxuZN52tz6LPy3OZ6R7dtrmYZ45g=; b=QEH19rpmg9WiYRoLVOMN3lOU+x Hbk03uYCulMp/U+/NqXyP44TlPdGidd+2FnGKBkZjAFQcOXNge+++BS3C6Ct3BeRcbGut3vYvacG6 zhSzAJD/ZKtRSXpgqRArxUlM1LgUdmMQZx8DINLYbAQP409u8YVzHVHKUBeowtJ7iJtOR46LsVWe1 GkGAjyZ8gvh9LYXeTTa/+nSYPkOLyR14tqS7Y/qOoiGHJTap40ySFtQ3/dUfJ8hy5ZAvpP7RIKl+4 dWcGXp4DX2FuHYMxU+vL819n7WcwiqYdviq4wpQwsp7PGl/i2sC4MPLOlcsX5xSUz9jGpjGmcJu8Q /2PlQjPQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXuWM-0000he-RH; Wed, 19 Jul 2017 19:20:30 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXuWJ-0008TH-MY for ath10k@lists.infradead.org; Wed, 19 Jul 2017 19:20:29 +0000 Received: by mail-wm0-x241.google.com with SMTP id m4so1138885wmi.4 for ; Wed, 19 Jul 2017 12:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LEXDIeN5bgkFQUs8Zv6vS0mGk3FYNzXATBEwCeGpzgM=; b=BMfM2+Mk9/AxdS7eq807L2xbMiyljyP1I/duuNodO+Xvb9nJrPZUnq7frNSQXlTdpA kVy0Bd93ekIvHjZuddxcN7+hGswMaI9wWNRKWL1QVzGi4ol7rvUsD8Ct/EiwifqXtsGY Goqc9WS3V/O4/enSVvKeBFI9KeqzmdMIzkcLlNlk44ViobecDXwoqfHJUuKA/6Z+ZOFe KUz4lOz5T+b7fOMK/Yh7WRCWuVJXMLefPnGtJb4UXkvs1lQOsF+EBpkpdHbWbFtYUd2r c5UK7QBovkCBHHSgk6swls4qN9CPO2tZRk1BlRZ5IHi3TnbT9HRSzVBKE0GrqlsHNOyF DeYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LEXDIeN5bgkFQUs8Zv6vS0mGk3FYNzXATBEwCeGpzgM=; b=SXoX32yNP2rtghrd5mCM/ZY2igayFpqg+COlbK63y5tFFO3oHeXvLqPSj3zbxJAwvN iYhXnHmvrxGgqC80TKt9kuAvIFiJHhjaS+0Le/Bq/GHFDHZ/s55qceHrRqOAnUr0AH8g hxyK00NGgY2P3b9LkfCtjtsFS2vt7rO13i7eltYGLbHNVh8DCj2v9R/NMh8IjtJ7q9d0 o2v+fyneyZPeD9p7Bs4ONlBE4iQuAr65Zy2t54Mev9EE8Ea7wgXCFWv6kCwuoWklNpZO IbfhZzq/n1EzRTrjUuIKBLbj6zbSDxa0k8CJjB9riZgYZAqf2AbYTWlFqlvxTiv2L1ay Twiw== X-Gm-Message-State: AIVw112B2Tn+31jwOLzFL9DWWdQQh65jxZB0egOiTvWeTTKLTLTfIFMX F/6r5sNjx/+ezTcRwhQ= X-Received: by 10.80.177.12 with SMTP id k12mr815618edd.187.1500492005687; Wed, 19 Jul 2017 12:20:05 -0700 (PDT) Received: from zwerg.fritz.box ([2a02:8106:230:e200:56e9:161c:8fca:7122]) by smtp.gmail.com with ESMTPSA id h56sm414816edb.33.2017.07.19.12.20.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jul 2017 12:20:04 -0700 (PDT) From: Gabriel Craciunescu To: ath10k@lists.infradead.org Subject: [PATCH v3] ath10k: ath10k_htt_rx_amsdu_allowed() use ath10k_dbg() Date: Wed, 19 Jul 2017 21:19:55 +0200 Message-Id: <20170719191955.11518-1-nix.or.die@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170719_122028_085120_F01A0EA4 X-CRM114-Status: UNSURE ( 7.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ryanhsu@qti.qualcomm.com, Gabriel Craciunescu , netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, kvalo@qca.qualcomm.com, joe@perches.com MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Each time we get disconencted from AP we get flooded with messages like: ... ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)! ath10k_warn: 155 callbacks suppressed ... Use ath10k_dbg() here too Signed-off-by: Gabriel Craciunescu --- drivers/net/wireless/ath/ath10k/htt_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index 398dda978d6e..75d9b59b7e63 100644 --- a/drivers/net/wireless/ath/ath10k/htt_rx.c +++ b/drivers/net/wireless/ath/ath10k/htt_rx.c @@ -1514,7 +1514,7 @@ static bool ath10k_htt_rx_amsdu_allowed(struct ath10k *ar, */ if (!rx_status->freq) { - ath10k_warn(ar, "no channel configured; ignoring frame(s)!\n"); + ath10k_dbg(ar, ATH10K_DBG_HTT, "no channel configured; ignoring frame(s)!\n"); return false; }