Skip to content

Commit

Permalink
mac80211: Show max number of probe tries in debug message.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Ben Greear authored and John W. Linville committed Dec 8, 2010
1 parent 1551808 commit 2f88675
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions net/mac80211/work.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f88675

Please sign in to comment.