Skip to contentSkip to conversation

mac80211: Show max number of probe tries in debug message.

PATCH New [email protected] 1 participant 1 message Dec 7, 2010 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: Show max number of probe tries in debug message.

From: Ben Greear <[email protected]>

---
:100644 100644 2b5c3f2... de43753... M net/mac80211/work.c

 net/mac80211/work.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
net/mac80211/work.c +3 -2
index 2b5c3f2..de43753 100644
@@ -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
Signature · 1 line
1.7.2.3