]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76fd77f311d5b480b2ac9cde01f559f0951baedf
tree7577832e5cf40171c289d05f41b36a55ba154074
parentc87a7db3db6ec5b43c59140f454afeafdaa8f437
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