From cf3f80891681b1ba1083df70c01b098a9532fc0c Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Wed, 11 Nov 2015 16:00:15 +0100 Subject: eap_proxy: Fix compilation warning Change-Id: I1e0259aad8516c8eacf50de6313a558f01032ae4 --- src/eap_peer/eap_proxy_qmi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/eap_peer/eap_proxy_qmi.c b/src/eap_peer/eap_proxy_qmi.c index 82a95a68..f5e20099 100644 --- a/src/eap_peer/eap_proxy_qmi.c +++ b/src/eap_peer/eap_proxy_qmi.c @@ -571,14 +571,14 @@ static void eap_proxy_post_init(struct eap_proxy_sm *eap_proxy) eap_proxy->proxy_state = EAP_PROXY_DISABLED; wpa_printf(MSG_ERROR, "eap_proxy: No Modem support for this target" " number of modems is %d", mdm_detect_info.num_modems); - return NULL; + return; } wpa_printf(MSG_DEBUG, "eap_proxy: num_modems = %d", mdm_detect_info.num_modems); if(eap_modem_compatible(&mdm_detect_info) == FALSE) { eap_proxy->proxy_state = EAP_PROXY_DISABLED; wpa_printf(MSG_ERROR, "eap_proxy: build does not support EAP-SIM feature"); - return NULL; + return; } #endif /* CONFIG_EAP_PROXY_MDM_DETECT */ @@ -667,7 +667,7 @@ static void eap_proxy_post_init(struct eap_proxy_sm *eap_proxy) if ( flag == FALSE ) { eap_proxy->proxy_state = EAP_PROXY_DISABLED; wpa_printf(MSG_ERROR, "eap_proxy: flag = %d proxy init failed\n", flag); - return NULL; + return; } eap_proxy->proxy_state = EAP_PROXY_IDLE; @@ -677,7 +677,7 @@ static void eap_proxy_post_init(struct eap_proxy_sm *eap_proxy) eap_proxy_eapol_sm_set_bool(eap_proxy, EAPOL_eapResp, FALSE); eap_proxy_eapol_sm_set_bool(eap_proxy, EAPOL_eapNoResp, FALSE); wpa_printf (MSG_ERROR, "eap_proxy: Eap_proxy initialized successfully tid is %d \n", gettid()); - return NULL; + return; } -- cgit v1.2.3