Return-path: Received: from sabertooth02.qualcomm.com ([65.197.215.38]:22669 "EHLO sabertooth02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756102AbdGSSl3 (ORCPT ); Wed, 19 Jul 2017 14:41:29 -0400 From: Ryan Hsu To: Gabriel Craciunescu , "ath10k@lists.infradead.org" CC: Ryan Hsu , "joe@perches.com" , Kalle Valo , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" Subject: Re: [PATCH] ath10k_htt_rx_amsdu_allowed(): use ath10k_dbg() Date: Wed, 19 Jul 2017 18:41:27 +0000 Message-ID: (sfid-20170719_204210_832230_652C3A0A) References: <1500481605.25934.40.camel@perches.com> <20170719182454.11267-1-crazy@frugalware.org> In-Reply-To: <20170719182454.11267-1-crazy@frugalware.org> Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 07/19/2017 11:24 AM, Gabriel Craciunescu wrote: To make it consistent, maybe rename the patch title starting with ath10k: > 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. You don't need an indentation on every line of the commit. > 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/wirel= ess/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 ath1= 0k *ar, > */ > =20 > 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; > } > =20 --=20 Ryan Hsu