From: Ben Greear Date: Tue, 7 Dec 2010 19:27:01 +0000 (-0800) Subject: mac80211: Show max number of probe tries in debug message. X-Git-Tag: upstream/snapshot3+hdmi~12141^2~169^2^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f886750118c1781d3b53268bf25519aef1d4d71;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mac80211: Show max number of probe tries in debug message. Signed-off-by: Ben Greear Signed-off-by: John W. Linville --- diff --git a/net/mac80211/work.c b/net/mac80211/work.c index 2b5c3f2..de43753 100644 --- a/net/mac80211/work.c +++ b/net/mac80211/work.c @@ -458,8 +458,9 @@ ieee80211_direct_probe(struct ieee80211_work *wk) return WORK_ACT_TIMEOUT; } - printk(KERN_DEBUG "%s: direct probe to %pM (try %d)\n", - sdata->name, wk->filter_ta, wk->probe_auth.tries); + printk(KERN_DEBUG "%s: direct probe to %pM (try %d/%i)\n", + sdata->name, wk->filter_ta, wk->probe_auth.tries, + IEEE80211_AUTH_MAX_TRIES); /* * Direct probe is sent to broadcast address as some APs