From patchwork Wed Jul 19 18:24:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel C X-Patchwork-Id: 9852935 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 C6FEC602BD for ; Wed, 19 Jul 2017 18:25:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B752328680 for ; Wed, 19 Jul 2017 18:25:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABE7B286A2; Wed, 19 Jul 2017 18:25:40 +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 417DB286DF for ; Wed, 19 Jul 2017 18:25:40 +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=dAwTDa8566Q0Y0xFEcaSKgJuwijz+bCRh5V0mqeGEyA=; b=SRgGeK1YGGbeznBvkjurNsoiVZ 7CYrzlwygQHPTci6s9r4evthTf+x6hIxL5E+9RMdArpyJ/J4ndv7RWgNWnw7g2cIVrIlEe2N17sM/ JVz1dLtMR6dwQsmllLxKXQ0szYK8yDkcovddUlistdCjHkfZPpWDIki9N6cccZ6umMj7MKkQ98wox Hs63JYMAqaOqG7cxr/EbvvqexIoogqLviVECNNUBJb95O4I0qo2u0/aDhepYpq8VNQqdf6ujmtthB Scz+t6xmcblXb9B8EOZ/fbmTQhm2Wz00928NhcIbuvTN65GXQYDFZEjpL+6PASnvqm0nhGg3vPbPD BIHlB6wQ==; 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 1dXtfC-0003NP-DH; Wed, 19 Jul 2017 18:25:34 +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 1dXtf8-0003LA-OD for ath10k@lists.infradead.org; Wed, 19 Jul 2017 18:25:32 +0000 Received: by mail-wm0-x241.google.com with SMTP id 65so1031126wmf.0 for ; Wed, 19 Jul 2017 11:25:09 -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=bm3WgjMQON1xwi6ubKcrY3kxRPqcCS3Y1Fxp53U5yeM=; b=DcErFTsvQNMROH+G/b1RmcruJtxXrz+twETJXkQajlRX5drIcZZaDcDIvuwKFeFjKb aQSd6an5r0ZCDzEJQwTKVxOue2hXmN9Idx0+Wtz0t8WJTWOGWDoEYkfijvpLAak98gEZ USHuPbTXjdE58O/PsT8NaPvXZclwVuUKbEMP5L+ukDu1zyBHwI73Nn+/fx0iXtLJOZWi AXl5GSr3it+tsZ8msY2WarNJdgOqiZ/JTp7ux//B/RI2amHaLIdYVPkJ0QQ9R2YyRMcK s6229ewsH/a1L+G/yNblqz6BL2OJVIMyZyBY7pAaUventZpwvEK7bPfWaO37LgUhK6kC vDXg== 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=bm3WgjMQON1xwi6ubKcrY3kxRPqcCS3Y1Fxp53U5yeM=; b=DwcOPZXcallcm2Jw5DZUjV6kj4Q5Rp4nf6mnWlU77iszngNq1wG8jWJ6qYcIJh3+fC a18kZlikeGxYH/2csnt7BhlYXyavtykEeFksQdyjPZaZBQr4zjeFRyhZVHw3Lfz+lNoy pIXJSrGsi89xBUGbxOqP7wnWdZiHEWJg0A1h+NqY6j49gF4E9iFOv/s54Aqa6+HWCbaq oY+EMLnz0rIODuBzJ+7xlLz7BMoyXruabKu8fMrjnLwBDChuj9nqYklWAvFOsfSsh1My ze4W/yMcFGHjXW+2V6LZYihG/ZuOW5r2hAv2ImRwX9gl+HS/VVAXYIOAioTAGU/bO8Xy BNeg== X-Gm-Message-State: AIVw113B0OBGNeZNPtmvNPt3eGlZH+XxhImu1jM+/V1SP3Iqqak1kx37 iWV2rLgyLYLSC3cHb+8= X-Received: by 10.80.147.134 with SMTP id o6mr818297eda.102.1500488708388; Wed, 19 Jul 2017 11:25:08 -0700 (PDT) Received: from zwerg.fritz.box ([2a02:8106:230:e200:56e9:161c:8fca:7122]) by smtp.gmail.com with ESMTPSA id c20sm108492edc.13.2017.07.19.11.25.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jul 2017 11:25:07 -0700 (PDT) From: Gabriel Craciunescu X-Google-Original-From: Gabriel Craciunescu To: ath10k@lists.infradead.org Subject: [PATCH] ath10k_htt_rx_amsdu_allowed(): use ath10k_dbg() Date: Wed, 19 Jul 2017 20:24:54 +0200 Message-Id: <20170719182454.11267-1-crazy@frugalware.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <1500481605.25934.40.camel@perches.com> References: <1500481605.25934.40.camel@perches.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170719_112530_975364_33E37C46 X-CRM114-Status: UNSURE ( 7.83 ) 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 From: Gabriel Craciunescu 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; }