mac80211: ignore VHT membership selector when parsing rates
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 Mar 2017 21:59:04 +0000 (22:59 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Mar 2017 08:41:59 +0000 (09:41 +0100)
commita6289d3fcc7349402e198ea8fb22d63ed4cb09dd
treebdc58af2f315af9d14c13a3219f106d8d08ffb73
parent8976672736d6089ae011fda3482e30e4380276f8
mac80211: ignore VHT membership selector when parsing rates

There isn't really much harm in not ignoring, since it doesn't
represent a valid rate, but since we already ignore the HT one
also ignore VHT. Also simplify the code a bit.

Fix a typo in the related comment (pointed out by Arend) while
at it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c