]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: disallow shared key authentication with key index 4
authorJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 14:25:58 +0000 (16:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 18:20:51 +0000 (20:20 +0200)
commit4c3c37a8c2afd54c3361e51f356c24052df55e66
tree9d1f60df03f7ab85f2885af62ac63a22942c3437
parent912cf8d9775ba677a9c5d47449508d8639a915a4
cfg80211: disallow shared key authentication with key index 4

Key index 4 can only be used for an IGTK, so the range checks
for shared key authentication should treat 4 as an error, fix
that in the code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mlme.c
net/wireless/nl80211.c