summaryrefslogtreecommitdiffstats
path: root/net/mac80211/work.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2010-12-07 11:27:01 -0800
committerJohn W. Linville <linville@tuxdriver.com>2010-12-08 15:38:44 -0500
commit2f886750118c1781d3b53268bf25519aef1d4d71 (patch)
tree6cac9d2513ad1cf09ee970eea4e7d8a5c3bdd98b /net/mac80211/work.c
parent155180803c95c7b14b355f60431bef45116c151e (diff)
mac80211: Show max number of probe tries in debug message.
Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/work.c')
-rw-r--r--net/mac80211/work.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/work.c b/net/mac80211/work.c
index 2b5c3f26719..de43753076d 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