aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-11-17 20:06:33 +0200
committerJouni Malinen <j@w1.fi>2011-11-17 20:06:33 +0200
commite9447a94c04b0f7f450d6c072a7d4037c30d3558 (patch)
tree3f51bf4003d895efb95cc19fc3aafe19732f3e64 /src/common
parent895c6434073b801cf1033f354b5a21a6654d6a65 (diff)
downloadexternal_wpa_supplicant_8_ti-e9447a94c04b0f7f450d6c072a7d4037c30d3558.zip
external_wpa_supplicant_8_ti-e9447a94c04b0f7f450d6c072a7d4037c30d3558.tar.gz
external_wpa_supplicant_8_ti-e9447a94c04b0f7f450d6c072a7d4037c30d3558.tar.bz2
Use a single define for maximum number of EAP methods
This cleans up the code a bit by not having to deal with theoretical possibility of maximum number of EAP methods to be different between various components in hostapd. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/defs.h b/src/common/defs.h
index bfbb4b7..f00cf3a 100644
--- a/src/common/defs.h
+++ b/src/common/defs.h
@@ -281,4 +281,7 @@ enum wpa_ctrl_req_type {
NUM_WPA_CTRL_REQS
};
+/* Maximum number of EAP methods to store for EAP server user information */
+#define EAP_MAX_METHODS 8
+
#endif /* DEFS_H */