aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_supp/eapol_supp_sm.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-28 18:02:32 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-28 18:02:32 (GMT)
commitbcbbc7af45cc4b84a5c10e65f4283fdf68cd785a (patch)
tree7d110829491964ba3094be1adab76dfd1bfc8b93 /src/eapol_supp/eapol_supp_sm.h
parentfa201b694f55194331d99877b6c64058c1ebd990 (diff)
downloadhostap-bcbbc7af45cc4b84a5c10e65f4283fdf68cd785a.zip
hostap-bcbbc7af45cc4b84a5c10e65f4283fdf68cd785a.tar.gz
hostap-bcbbc7af45cc4b84a5c10e65f4283fdf68cd785a.tar.bz2
WPS: Merged two cred_cb variables into the same one
Previously, wpa_supplicant as Enrollee case was handled using a different callback function pointer. However, now that the wps_context structure is allocated for all cases, the same variable can be used in all cases.
Diffstat (limited to 'src/eapol_supp/eapol_supp_sm.h')
-rw-r--r--src/eapol_supp/eapol_supp_sm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eapol_supp/eapol_supp_sm.h b/src/eapol_supp/eapol_supp_sm.h
index 637a1a4..601ff38 100644
--- a/src/eapol_supp/eapol_supp_sm.h
+++ b/src/eapol_supp/eapol_supp_sm.h
@@ -223,7 +223,7 @@ struct eapol_ctx {
* new credentials. This can be left %NULL if no WPS functionality is
* enabled.
*/
- int (*wps_cred)(void *ctx, struct wps_credential *cred);
+ int (*wps_cred)(void *ctx, const struct wps_credential *cred);
/**
* eap_param_needed - Notify that EAP parameter is needed