]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
mac80211: extend __rate_control_send_low warning
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 May 2019 12:25:37 +0000 (15:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Jun 2019 12:18:05 +0000 (14:18 +0200)
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>
net/mac80211/rate.c

index b3ac330c3eb08a48dc88b37a9ebcff7f372eee13..b77d5a5ce699ebb72c1bbf6173bd27f7e8ac8971 100644 (file)
@@ -357,8 +357,10 @@ static void __rate_control_send_low(struct ieee80211_hw *hw,
                break;
        }
        WARN_ONCE(i == sband->n_bitrates,
-                 "no supported rates (0x%x) in rate_mask 0x%x with flags 0x%x\n",
+                 "no supported rates for sta %pM (0x%x, band %d) in rate_mask 0x%x with flags 0x%x\n",
+                 sta ? sta->addr : NULL,
                  sta ? sta->supp_rates[sband->band] : -1,
+                 sband->band,
                  rate_mask, rate_flags);
 
        info->control.rates[0].count =