diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-05-04 08:42:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-04 19:15:28 +0200 |
commit | 842be75c77cb72ee546a2b19da9c285fb3ded660 (patch) | |
tree | 42430f0f3031362f21bfba7e205006281ae9f68a /drivers/usb/host/xhci-trace.h | |
parent | ipv6: initialize route null entry in addrconf_init() (diff) | |
download | linux-842be75c77cb72ee546a2b19da9c285fb3ded660.tar.xz linux-842be75c77cb72ee546a2b19da9c285fb3ded660.zip |
cfg80211: make RATE_INFO_BW_20 the default
Due to the way I did the RX bitrate conversions in mac80211 with
spatch, going setting flags to setting the value, many drivers now
don't set the bandwidth value for 20 MHz, since with the flags it
wasn't necessary to (there was no 20 MHz flag, only the others.)
Rather than go through and try to fix up all the drivers, instead
renumber the enum so that 20 MHz, which is the typical bandwidth,
actually has the value 0, making those drivers all work again.
If VHT was hit used with a driver not reporting it, e.g. iwlmvm,
this manifested in hitting the bandwidth warning in
cfg80211_calculate_bitrate_vht().
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/host/xhci-trace.h')
0 files changed, 0 insertions, 0 deletions