mac80211: don't accept WEP keys other than WEP40 and WEP104
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 27 Jun 2008 23:50:13 +0000 (02:50 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Jun 2008 19:43:53 +0000 (15:43 -0400)
commit23976efedd5ecb420b87455787c537eb4aed1981
tree902550e2716af5682de8219da1f228e13a5f0adb
parent1bcca3c463e4930cef9986b05165bb0b3eb46f63
mac80211: don't accept WEP keys other than WEP40 and WEP104

This patch makes mac80211 refuse a WEP key whose length is not WEP40 nor
WEP104.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/wext.c