From e9447a94c04b0f7f450d6c072a7d4037c30d3558 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 17 Nov 2011 20:06:33 +0200 Subject: 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 --- src/common/defs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common') 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 */ -- cgit v1.1