]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/events.c
Fix wpa_supplicant_ssid_bss_match() handler for non-WPA
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 30 Dec 2010 16:27:33 +0000 (18:27 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 30 Dec 2010 16:27:33 +0000 (18:27 +0200)
commitdf83fb7d00dc50c72ba7a5f5f0e313649619e5a2
tree190aa5e8fdcee63ac0d11473790be11d8b927def
parentdcc8bf780832875a97052debb17bbeaa7d092830
Fix wpa_supplicant_ssid_bss_match() handler for non-WPA

The proto configuration may be left to non-zero when moving from one
configuration to another. To avoid misidentifying a network
configuration as enabling WPA, check key_mgmt field, too.
wpa_supplicant/events.c