|
@@ -2155,16 +2155,14 @@ int eapol_sm_failed(struct eapol_sm *sm)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+#ifdef CONFIG_EAP_PROXY
|
|
int eapol_sm_get_eap_proxy_imsi(struct eapol_sm *sm, char *imsi, size_t *len)
|
|
int eapol_sm_get_eap_proxy_imsi(struct eapol_sm *sm, char *imsi, size_t *len)
|
|
{
|
|
{
|
|
-#ifdef CONFIG_EAP_PROXY
|
|
|
|
if (sm->eap_proxy == NULL)
|
|
if (sm->eap_proxy == NULL)
|
|
return -1;
|
|
return -1;
|
|
return eap_proxy_get_imsi(sm->eap_proxy, imsi, len);
|
|
return eap_proxy_get_imsi(sm->eap_proxy, imsi, len);
|
|
-#else
|
|
|
|
- return -1;
|
|
|
|
-#endif
|
|
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
|
|
void eapol_sm_erp_flush(struct eapol_sm *sm)
|
|
void eapol_sm_erp_flush(struct eapol_sm *sm)
|