]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nl80211: correctly validate MU-MIMO groups
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Apr 2017 07:13:38 +0000 (09:13 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 May 2017 09:24:34 +0000 (11:24 +0200)
commit4954601f821bb5afd4dd59b57bf801adf4924bbd
tree1168c860b5943f8c781feb85487ca7993dd2dfd3
parentf8860ce836f2d502b07ef99559707fe55d90f5bc
nl80211: correctly validate MU-MIMO groups

Since groups 0 and 63 are invalid, we should check for those bits.
Note that the 802.11 spec specifies the *bit* order, but the CPU
doesn't care about bit order since it can't address bits, so it's
always treating BIT(0) as the lowest bit within a byte.

Reported-by: Jan Fuchs <jan.fuchs@lancom.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c