]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/interworking.c
Ignore network blocks that have invalid WEP key length
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 7 May 2012 10:39:33 +0000 (13:39 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 7 May 2012 10:39:33 +0000 (13:39 +0300)
commitfea7c3a0558787d6cc89b93207a612607f04d665
tree20d9362358b4483711f256c0efab5976b5860491
parentd90134e74848d1ee090a3e6199599f355214586e
Ignore network blocks that have invalid WEP key length

Do not try to associate with a network that has an invalid or incomplete
configuration because the association or at least data connection would
fail anyway. This commits adds a common function for checking whether a
network block is disabled to make it easier to check network blocks
without having to reject them during configuration file parsing (which
would prevent wpa_supplicant from starting). The only additional check
added in this commit is to verify the WEP key length. Similar checks for
other parameters can be added in future commits.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/ctrl_iface.c
wpa_supplicant/events.c
wpa_supplicant/interworking.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c