From patchwork Wed Jul 19 15:37:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel C X-Patchwork-Id: 9852539 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 A17DB60393 for ; Wed, 19 Jul 2017 15:37:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 904552861B for ; Wed, 19 Jul 2017 15:37:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8516B28623; Wed, 19 Jul 2017 15:37:38 +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 1CB5928632 for ; Wed, 19 Jul 2017 15:37:38 +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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject:From:To: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=/P73CS1f/2YzvEw0+102h13TxG8M1vBglj9E/3CbD0o=; b=l5PQFJB6VyCBW3UPtkkaPNaxgb 6mWNphQf5/0n0MiNqHdxXdKVyKLUuBOrBD5bvQkoJjcmzV3MnJkCrA9JmCYkLtvMz2NP6as5nuQIt qd6UJrYSBORmz/PCrbbs6U1GbZbooqGpJrsbXtQGe2Qf9rr75oEnt2PPnv54z0qF4wxDhwZqHSfs6 nnWj9pyUU7QzHaTw+xT8yES5te3M4u0dMkA2c8K3EmSbL1yf3S2nVQHJ2B6KXvhrVBM8Ce7oOxpDv 9bzTqAKZ1hOU289nCjfqyUZWJ5WsNm66hTz7uNmMwPQahyCalSp2OeRNhumE6Sd1H8XkG4681eBsY IJK5iA8Q==; 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 1dXr2a-0000QO-KH; Wed, 19 Jul 2017 15:37:32 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXr2X-0000IJ-Or for ath10k@lists.infradead.org; Wed, 19 Jul 2017 15:37:31 +0000 Received: by mail-wm0-x244.google.com with SMTP id p204so532114wmg.1 for ; Wed, 19 Jul 2017 08:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=6z1WqO8B52jFc/UJ7ZBxBBY6qrjmKyesaPXzkuk6nqg=; b=n2UeTxVCJ3sZsSZA3RqFDG4Lqx2Giaf2YCc1qpniDjgyzOlhWEVAhDkMFWfia1zG1Q 27FpNrR1M74YWE444t99TFWC+GXUonet1UlPnNkQtsbKs0ZIHvYDuUClxzg7BjCkpnWn UbsjB6coCCepM6CwaSDcJgiw8jGCwiOgr8i+GLyJRjTXZ+FARXSsDpdJKsC6j0JrH0XS 7z0XOnzn74Cdyi4f8EpizmBykIe+LinvSQp0zkyA3qNuPnAP1O5z8X02hsS0Aijbmvm1 2G8Cj08XnCAjcYtich41znCIhkDAPieLFXoQR1CW0fOLqXSQIy59u2W+aQunntjQYSNr KSrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=6z1WqO8B52jFc/UJ7ZBxBBY6qrjmKyesaPXzkuk6nqg=; b=Qmj2Npfl0qGgD/db4vTxmNDaaxGmZSyEiNbLvjqGUMN2EF+gg8WDuhCGQ1QbNu6tMj 6/YGkgxY4YDyfZwBYpBrIgbXKXw4fSyoXoB5eyIwQn6/08ptWwhM4KDOoYe06jBvQ4zR x2ZaeI7Jn8YBpSrBRJjIqA7USVEVDvuPZjKCfSq6LozVjzdhB6aGAbP/S/9pvo20ujSF AHon/8rOSkcLCpvDWM9Ti3LiRK2cPag3yQRrpcbx6e+PvFb9ESKUNccaHsRAolZINkKQ QPZl1SpFttsdQKit8nKxKsCEAzXR3/EWbSnWh0tWj7mjCYcT7LXd5HwdGnkpVEAOVQ8n xEjQ== X-Gm-Message-State: AIVw113AK+6y51CgeY/O2aVlx8B0FIG6/VlhAtXT+6imV6uim7/P6ujl ECbO+8POWSmtW6DmGsVRLw== X-Received: by 10.80.152.194 with SMTP id j60mr387956edb.98.1500478627955; Wed, 19 Jul 2017 08:37:07 -0700 (PDT) Received: from ?IPv6:2a02:8106:230:e200:6148:1fdf:601a:c5c8? ([2a02:8106:230:e200:6148:1fdf:601a:c5c8]) by smtp.gmail.com with ESMTPSA id 15sm148972edw.86.2017.07.19.08.37.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jul 2017 08:37:07 -0700 (PDT) To: "ath10k@lists.infradead.org" From: Gabriel C Subject: [PATCH] ath10k_htt_rx_amsdu_allowed(): use ath10k_dbg() Message-ID: <288fce5b-d738-f0ac-2433-67e1b35a0664@gmail.com> Date: Wed, 19 Jul 2017 17:37:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170719_083729_991624_740387EE X-CRM114-Status: UNSURE ( 9.11 ) 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: "linux-wireless@vger.kernel.org" , Kalle Valo , Ryan Hsu , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" 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; }