Hi Joe,
On Saturday 26 May 2012 01:32 AM, Joe Perches wrote:
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...
thanks for your inputs!
just today saw this link where you had introduced net_dbg_ratelimited
http://www.digipedia.pl/usenet/thread/18978/31017/
so should i send the v2 patch using net_dbg_ratelimited to net-next
rather than wireless-testing tree ?
--
thanks,
shafi
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html