From: Joe Perches <joe@perches.com>
To: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org
Subject: Re: [RFC] mac80211: net_ratelimit few aggregation related messages
Date: Fri, 25 May 2012 13:02:46 -0700 [thread overview]
Message-ID: <1337976166.30100.6.camel@joe2Laptop> (raw)
In-Reply-To: <1337960224-7428-1-git-send-email-mohammed@qca.qualcomm.com>
On Fri, 2012-05-25 at 21:07 +0530, Mohammed Shafi Shajakhan wrote:
> net_ratelimit few aggregation related messages,
[]
> diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c
[]
> @@ -464,8 +464,9 @@ int ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid,
> return -EINVAL;
>
> #ifdef CONFIG_MAC80211_HT_DEBUG
> - printk(KERN_DEBUG "Open BA session requested for %pM tid %u\n",
> - pubsta->addr, tid);
> + if (net_ratelimit())
> + printk(KERN_DEBUG "Open BA session requested for %pM tid %u\n",
> + pubsta->addr, tid);
perhaps
net_dbg_ratelimited(...)
etc...
next prev parent reply other threads:[~2012-05-25 20:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-25 15:37 [RFC] mac80211: net_ratelimit few aggregation related messages Mohammed Shafi Shajakhan
2012-05-25 20:02 ` Joe Perches [this message]
2012-05-28 6:15 ` Mohammed Shafi Shajakhan
2012-05-28 6:26 ` Joe Perches
2012-05-28 6:31 ` Mohammed Shafi Shajakhan
2012-05-28 6:43 ` Joe Perches
2012-05-28 6:51 ` Mohammed Shafi Shajakhan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337976166.30100.6.camel@joe2Laptop \
--to=joe@perches.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mohammed@qca.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).