]> git.ipfire.org Git - thirdparty/hostap.git/commit
Avoid nested enum wpas_mode declaration to allow C++ compilation
authorJouni Malinen <jouni@codeaurora.org>
Wed, 24 Jul 2019 16:49:24 +0000 (19:49 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 24 Jul 2019 16:49:24 +0000 (19:49 +0300)
commit64e37be9454cbbad2ae89f24ae3d1dcb668cc6df
treea79ce295102ba4ff20bd1f464feee4f7bcebcb49
parentfe2e1edf431dddd299a87d74d65de12f20a25bf7
Avoid nested enum wpas_mode declaration to allow C++ compilation

Move enum wpas_mode declaration to the global scope to avoid issues with
the recently added inline function wpas_mode_to_ieee80211_mode() using
it as an argument. This fixes C++ compilation issues with cases that
include wpa_supplicant_i.h.

Fixes: 3459c54ac78b ("mesh: Add support for HE mode")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/config_ssid.h