iwlwifi: dvm: remove usage of txrc->max_rate_idx
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 Mar 2017 22:04:09 +0000 (23:04 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Mar 2017 08:42:11 +0000 (09:42 +0100)
commitce1d834f9d213c9f76f693762710f7ecfbb69503
tree3152f5cd22258473c76ddfc4eaff6c127399f463
parenta3f9d596b1ea9cf7db482879a8aeb91f54a87e75
iwlwifi: dvm: remove usage of txrc->max_rate_idx

Just calculate it like mac80211 does today, so we can get rid
of the calculation in mac80211 for everyone else.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/dvm/rs.c