]> 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)
commit383c62ef10da16ffc097ecf8d8cb7257a7d009a0
tree9d1f60df03f7ab85f2885af62ac63a22942c3437
parent0e1e25294984528aba1c4fa00cce00f850498e64
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