aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-26 14:06:15 (GMT)
committerJouni Malinen <j@w1.fi>2009-03-26 14:06:15 (GMT)
commitc746331b5237c8a54b686dffe2e3250502fbfdbe (patch)
treeac1bb5bc0b684e9bd5b0b19189bb1604455b939b /wpa_supplicant/config_ssid.h
parentbfd67fc44c66ac9fcda97f02a9fe5f01d1ed5728 (diff)
downloadhostap-c746331b5237c8a54b686dffe2e3250502fbfdbe.zip
hostap-c746331b5237c8a54b686dffe2e3250502fbfdbe.tar.gz
hostap-c746331b5237c8a54b686dffe2e3250502fbfdbe.tar.bz2
Allow hostapd/config.h and wpa_supplicant/config_ssid.h coexist
Move the shared IEEE 802.11w enum definition into src/common/defs.h to avoid redefinition when both configuration structures are included into the same file.
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 817046d..3ebf228 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -318,11 +318,7 @@ struct wpa_ssid {
* This value is used to configure policy for management frame
* protection (IEEE 802.11w). 0 = disabled, 1 = optional, 2 = required.
*/
- enum {
- NO_IEEE80211W = 0,
- IEEE80211W_OPTIONAL = 1,
- IEEE80211W_REQUIRED = 2
- } ieee80211w;
+ enum mfp_options ieee80211w;
#endif /* CONFIG_IEEE80211W */
/**