Commit bfc31df3 authored by Ben Greear's avatar Ben Greear Committed by John W. Linville

mac80211: Show max retry-counts in kernel messages.

Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0a65169b
...@@ -1972,9 +1972,9 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata) ...@@ -1972,9 +1972,9 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata)
#ifdef CONFIG_MAC80211_VERBOSE_DEBUG #ifdef CONFIG_MAC80211_VERBOSE_DEBUG
wiphy_debug(local->hw.wiphy, wiphy_debug(local->hw.wiphy,
"%s: No ack for nullfunc frame to" "%s: No ack for nullfunc frame to"
" AP %pM, try %d\n", " AP %pM, try %d/%i\n",
sdata->name, bssid, sdata->name, bssid,
ifmgd->probe_send_count); ifmgd->probe_send_count, max_tries);
#endif #endif
ieee80211_mgd_probe_ap_send(sdata); ieee80211_mgd_probe_ap_send(sdata);
} else { } else {
...@@ -2001,10 +2001,10 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata) ...@@ -2001,10 +2001,10 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata)
#ifdef CONFIG_MAC80211_VERBOSE_DEBUG #ifdef CONFIG_MAC80211_VERBOSE_DEBUG
wiphy_debug(local->hw.wiphy, wiphy_debug(local->hw.wiphy,
"%s: No probe response from AP %pM" "%s: No probe response from AP %pM"
" after %dms, try %d\n", " after %dms, try %d/%i\n",
sdata->name, sdata->name,
bssid, (1000 * IEEE80211_PROBE_WAIT)/HZ, bssid, (1000 * IEEE80211_PROBE_WAIT)/HZ,
ifmgd->probe_send_count); ifmgd->probe_send_count, max_tries);
#endif #endif
ieee80211_mgd_probe_ap_send(sdata); ieee80211_mgd_probe_ap_send(sdata);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment