diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-05-29 08:25:37 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-06-14 08:18:05 -0400 |
commit | 163a7cdd1f30122d6743d4dc5a3481b0fb914d58 (patch) | |
tree | 24d08a394f07b0c26ed6d8e33b2f34bad1ce1f81 | |
parent | 583a7a34c5d3bb76777b710c6f3fcd51981db256 (diff) |
mac80211: extend __rate_control_send_low warning
This appears to happen occasionally, and if it does we
really want even more information than we have now.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | net/mac80211/rate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index b3ac330c3eb0..b77d5a5ce699 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c | |||
@@ -357,8 +357,10 @@ static void __rate_control_send_low(struct ieee80211_hw *hw, | |||
357 | break; | 357 | break; |
358 | } | 358 | } |
359 | WARN_ONCE(i == sband->n_bitrates, | 359 | WARN_ONCE(i == sband->n_bitrates, |
360 | "no supported rates (0x%x) in rate_mask 0x%x with flags 0x%x\n", | 360 | "no supported rates for sta %pM (0x%x, band %d) in rate_mask 0x%x with flags 0x%x\n", |
361 | sta ? sta->addr : NULL, | ||
361 | sta ? sta->supp_rates[sband->band] : -1, | 362 | sta ? sta->supp_rates[sband->band] : -1, |
363 | sband->band, | ||
362 | rate_mask, rate_flags); | 364 | rate_mask, rate_flags); |
363 | 365 | ||
364 | info->control.rates[0].count = | 366 | info->control.rates[0].count = |