]> 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)
commit7940e787176f85585ce2891f4c3611d9c51048ee
treebdc58af2f315af9d14c13a3219f106d8d08ffb73
parent68144d213f975426b465649bcb5ee9514cf311e6
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