]> git.baikalelectronics.ru Git - kernel.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)
commitac284212f97aa9df6e820492dfc5ac969698432f
tree1168c860b5943f8c781feb85487ca7993dd2dfd3
parentcd9f25cd0d3ba90a7af1617bc4d257d431ad9da9
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