eap_proxy: Fix eap_proxy_init() prototype to use const eapol_cb
The eapol_cb structure was made const and that change resulted in a compilation warning/error if CONFIG_EAP_PROXY=<name> is enabled in the wpa_supplicant build configuration. Fix this by updating the function prototype to match the change. Note: This results in a change needed to external eap_proxy_*.c implementations to match the change. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
aed9e23ae5
commit
79a54ab9f6
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ enum eap_proxy_status {
|
|||
};
|
||||
|
||||
struct eap_proxy_sm *
|
||||
eap_proxy_init(void *eapol_ctx, struct eapol_callbacks *eapol_cb,
|
||||
eap_proxy_init(void *eapol_ctx, const struct eapol_callbacks *eapol_cb,
|
||||
void *msg_ctx);
|
||||
|
||||
void eap_proxy_deinit(struct eap_proxy_sm *eap_proxy);
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "eap_proxy.h"
|
||||
|
||||
struct eap_proxy_sm *
|
||||
eap_proxy_init(void *eapol_ctx, struct eapol_callbacks *eapol_cb,
|
||||
eap_proxy_init(void *eapol_ctx, const struct eapol_callbacks *eapol_cb,
|
||||
void *msg_ctx)
|
||||
{
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue