OSDN Git Service

mac80211: minstrel_ht: fix default max throughput rate indexes
authorFelix Fietkau <nbd@nbd.name>
Tue, 20 Aug 2019 09:54:48 +0000 (11:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Aug 2019 09:09:37 +0000 (11:09 +0200)
commit21f7981b4bd904871c6bbd67333cf0f69ff7c06a
tree22834c0d080e69ccafd818b8a2a0b3f5a01e1d9d
parentf793c7eedd94fa41e8b969b18c4907335065a376
mac80211: minstrel_ht: fix default max throughput rate indexes

Use the first supported rate instead of 0 (which can be invalid)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20190820095449.45255-3-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c