]> git.ipfire.org Git - thirdparty/hostap.git/commit
Allow TSN AP to be selected when configured for WEP
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 8 Nov 2010 19:14:32 +0000 (21:14 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 8 Nov 2010 19:14:32 +0000 (21:14 +0200)
commit43882f1efc177f271d9fc344af831c1350266e39
treea2b235c45df468cd12b9a52e469f26435c703e5e
parentd06df64d14e591140ba8f0bef17947b3183a14e0
Allow TSN AP to be selected when configured for WEP

Commit d8d940b7469e505aec4d71a02d3f7ebab412eeae introduced a regression
that prevented TSN APs from being used with WEP since the AP was
rejected if it advertised WPA or RSN IE when we were configured to use
WEP. Resolve this by checking whether the AP is advertising a TSN, i.e.,
whether the AP allows WEP to be used as a group cipher. If so, allow
the AP to be selected if we are configured to use static WEP or
IEEE 802.1X (non-WPA).

It should be noted that this is still somewhat more restricted in AP
selection than earlier wpa_supplicant branches (0.7.x or older) that
ignore the WPA/RSN IE completely when configured for non-WPA.
src/common/defs.h
wpa_supplicant/events.c