diff options
author | Ben Greear <greearb@candelatech.com> | 2011-01-14 12:32:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-19 11:36:09 -0500 |
commit | bfc31df33b162540c6c3e1473e022cd0a312a522 (patch) | |
tree | 1aadce9bb1d6bf0c9aeb36d80544aa9d0f50dacb /net/mac80211/mlme.c | |
parent | 0a65169b1f602b955176cb5f0789139d0fccb041 (diff) |
mac80211: Show max retry-counts in kernel messages.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 45fbb9e33746..eecbb1fcd2ab 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1972,9 +1972,9 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata) | |||
1972 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 1972 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
1973 | wiphy_debug(local->hw.wiphy, | 1973 | wiphy_debug(local->hw.wiphy, |
1974 | "%s: No ack for nullfunc frame to" | 1974 | "%s: No ack for nullfunc frame to" |
1975 | " AP %pM, try %d\n", | 1975 | " AP %pM, try %d/%i\n", |
1976 | sdata->name, bssid, | 1976 | sdata->name, bssid, |
1977 | ifmgd->probe_send_count); | 1977 | ifmgd->probe_send_count, max_tries); |
1978 | #endif | 1978 | #endif |
1979 | ieee80211_mgd_probe_ap_send(sdata); | 1979 | ieee80211_mgd_probe_ap_send(sdata); |
1980 | } else { | 1980 | } else { |
@@ -2001,10 +2001,10 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata) | |||
2001 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 2001 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
2002 | wiphy_debug(local->hw.wiphy, | 2002 | wiphy_debug(local->hw.wiphy, |
2003 | "%s: No probe response from AP %pM" | 2003 | "%s: No probe response from AP %pM" |
2004 | " after %dms, try %d\n", | 2004 | " after %dms, try %d/%i\n", |
2005 | sdata->name, | 2005 | sdata->name, |
2006 | bssid, (1000 * IEEE80211_PROBE_WAIT)/HZ, | 2006 | bssid, (1000 * IEEE80211_PROBE_WAIT)/HZ, |
2007 | ifmgd->probe_send_count); | 2007 | ifmgd->probe_send_count, max_tries); |
2008 | #endif | 2008 | #endif |
2009 | ieee80211_mgd_probe_ap_send(sdata); | 2009 | ieee80211_mgd_probe_ap_send(sdata); |
2010 | } else { | 2010 | } else { |