aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_ioctl.c
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2017-01-20 07:43:40 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2017-01-20 07:43:40 +0000
commita2c31ee05e00eff7039e4fecd613bfa795b11671 (patch)
tree6f53727fb351b2636b88774c7356ea81694eb5e7 /sys/net80211/ieee80211_ioctl.c
parent68730a222dc4ed939e04768ed980fa9555fdce9c (diff)
downloadsrc-a2c31ee05e00eff7039e4fecd613bfa795b11671.tar.gz
src-a2c31ee05e00eff7039e4fecd613bfa795b11671.zip
[net80211] allow for MCS16-23 to be statically configured.
Tested: * AR9380, STA mode
Notes
Notes: svn path=/head/; revision=312522
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.c')
-rw-r--r--sys/net80211/ieee80211_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c
index 4675291d9da7..4fb5f61e2624 100644
--- a/sys/net80211/ieee80211_ioctl.c
+++ b/sys/net80211/ieee80211_ioctl.c
@@ -2225,7 +2225,7 @@ checkmcs(int mcs)
return 1;
if ((mcs & IEEE80211_RATE_MCS) == 0) /* MCS always have 0x80 set */
return 0;
- return (mcs & 0x7f) <= 15; /* XXX could search ht rate set */
+ return (mcs & 0x7f) <= 31; /* XXX could search ht rate set */
}
static int