nl80211: only allow WEP keys during connect command
authorJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 14:10:02 +0000 (16:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 Sep 2016 18:20:52 +0000 (20:20 +0200)
commit386b1f273850380a1887044673922843736c6d0a
tree7577832e5cf40171c289d05f41b36a55ba154074
parent42ee231cd12c2e1eb015163d04a65950e895d4b7
nl80211: only allow WEP keys during connect command

This was already documented that way in nl80211.h, but the
parsing code still accepted other key types. Change it to
really only accept WEP keys as documented.

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