]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a9b72622e5f587ac199ab13db349e8df89de430
treebdc58af2f315af9d14c13a3219f106d8d08ffb73
parent36b7f2d101507e52480f73a1175070435a2ff2c5
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