]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/mac80211/tkip.c
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)
commit3473187d2459a078e00e5fac8aafc30af69c57fa
tree93c3da6dbcbfd09ea81884bee790219d4cee0d56
parent73e194639d90594d06d0c10019c0ab4638869135
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