diff options
author | David S. Miller <davem@davemloft.net> | 2015-10-07 13:29:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-07 13:29:18 +0200 |
commit | 2579c98f0d04075ab8b041de7d5396393d2417f1 (patch) | |
tree | 094fb6486f5ede529cd772223d2fa0334a28f852 /net/mac80211/rate.c | |
parent | Merge branch 'l3mdev_saddr_op' (diff) | |
parent | mac80211: make ieee80211_new_mesh_header return unsigned (diff) | |
download | linux-2579c98f0d04075ab8b041de7d5396393d2417f1.tar.xz linux-2579c98f0d04075ab8b041de7d5396393d2417f1.zip |
Merge tag 'mac80211-next-for-davem-2015-10-05' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Johannes Berg says:
====================
For the current cycle, we have the following right now:
* many internal fixes, API improvements, cleanups, etc.
* full AP client state tracking in cfg80211/mac80211 from Ayala
* VHT support (in mac80211) for mesh
* some A-MSDU in A-MPDU support from Emmanuel
* show current TX power to userspace (from RafaĆ)
* support for netlink dump in vendor commands (myself)
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rate.c')
-rw-r--r-- | net/mac80211/rate.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index 9ce8883d5f44..b07e2f748f93 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c @@ -305,7 +305,10 @@ static void __rate_control_send_low(struct ieee80211_hw *hw, info->control.rates[0].idx = i; break; } - WARN_ON_ONCE(i == sband->n_bitrates); + WARN_ONCE(i == sband->n_bitrates, + "no supported rates (0x%x) in rate_mask 0x%x with flags 0x%x\n", + sta ? sta->supp_rates[sband->band] : 0, + rate_mask, rate_flags); info->control.rates[0].count = (info->flags & IEEE80211_TX_CTL_NO_ACK) ? |