]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/sme.c
nl80211: Fix WPA_VERSIONS attribute for Connect command
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 2 Sep 2011 17:40:23 +0000 (20:40 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 2 Sep 2011 17:40:23 +0000 (20:40 +0300)
commit64fa840a9745e398311a8241a94d03b506d2d230
treede3f2c0abc28dbf3c2ed9338ea794f523caee604
parentbf9d5518d55e314cad2dbac0715ce151b2807691
nl80211: Fix WPA_VERSIONS attribute for Connect command

The previous code was trying to figure out which WPA version is
used based on the extra IEs requested for Association Request. That
did not work properly in cases where non-WPA networks are used with
some extra IEs. Fix this by using more robust mechanism for passing
the WPA versions from core wpa_supplicant to the driver_ops
associate().
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/ap.c
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h