]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove wep dependency
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Jul 2010 19:07:49 +0000 (15:07 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Jul 2010 20:35:50 +0000 (16:35 -0400)
commit65acbd80da90e59f792e805dc313b386a42d8f91
tree93c3da6dbcbfd09ea81884bee790219d4cee0d56
parentddd0c5efc5cf5cb32dc33c5ffc0f4f2c5266af4d
mac80211: remove wep dependency

The current mac80211 code assumes that WEP is always available.  If WEP
fails to initialize, ieee80211_register_hw will always fail.

In some cases (e.g. FIPS certification), the cryptography used by WEP is
unavailable.  However, in such cases there is no good reason why CCMP
encryption (or even no link level encryption) cannot be used.  So, this
patch removes mac80211's assumption that WEP (and TKIP) will always be
available for use.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/main.c
net/mac80211/tkip.c
net/mac80211/tkip.h
net/mac80211/wep.c
net/mac80211/wep.h
net/mac80211/wpa.c