]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/sme.c
wpa_supplicant: Fix type for ssid->mode comparisons
authorSven Eckelmann <seckelmann@datto.com>
Fri, 14 Jun 2019 14:49:19 +0000 (16:49 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 23 Jun 2019 15:03:51 +0000 (18:03 +0300)
commitf74618cb928e1ac9f99556fdadf072b729f2c0e3
tree5fe4cb65133e44b989e5de3c74aa4473c1bff77d
parenta00ace9fd77a18d26a07b8e8a857ef1105556cd5
wpa_supplicant: Fix type for ssid->mode comparisons

The ssid->mode is from type enum wpas_mode and all its constants start
with WPAS_MODE_*. Still some of the code sections used the
IEEE80211_MODE_* defines instead of WPAS_MODE_*.

This should have no impact on the actual code because the constants for
INFRA, IBSS, AP and MESH had the same values.

Signed-off-by: Sven Eckelmann <seckelmann@datto.com>
wpa_supplicant/events.c
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c