diff options
author | 2016-08-03 10:07:44 +0900 | |
---|---|---|
committer | 2016-08-05 14:14:54 +0200 | |
commit | 9757235f451c27deaa88925399f070ff6fcea832 (patch) | |
tree | 43cb213c5b2ae90cfe4dd2b81b466ad3248724ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mac80211: End the MPSP even if EOSP frame was not acked (diff) | |
download | wireguard-linux-9757235f451c27deaa88925399f070ff6fcea832.tar.xz wireguard-linux-9757235f451c27deaa88925399f070ff6fcea832.zip |
nl80211: correct checks for NL80211_MESHCONF_HT_OPMODE value
Previously, NL80211_MESHCONF_HT_OPMODE validation rejected correct
flag combinations, e.g. IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED |
IEEE80211_HT_OP_MODE_NON_HT_STA_PRSNT.
Doing just a range-check allows setting flags that don't exist (0x8)
and invalid flag combinations.
Implements some checks based on IEEE 802.11 2012 8.4.2.59 "HT
Operation element".
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
[reword commit message, simplify a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions