]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fill low rate even for HAS_RATE_CONTROL
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 May 2019 12:25:36 +0000 (15:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Jun 2019 12:17:55 +0000 (14:17 +0200)
commit391c1038cda13fac41f4fe0e780363a950f65657
tree939e486e4d51c7ce0872c12de78114415c0acab1
parent683ab6199987a3ae4ccfeaf315bc40a4a69448a5
mac80211: fill low rate even for HAS_RATE_CONTROL

If HW advertises it has rate control, we skip all of the
rate control assignments, but sometimes the data we have
here is useful, especially so that we don't have to do
the lookups again on which rates are configured and are
supported.

So do the low rate assignment anyway to help out drivers
that might need it.

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