aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-11-11 16:00:15 +0100
committerRicardo Cerqueira <ricardo@cyngn.com>2016-07-01 11:17:52 +0100
commitcf3f80891681b1ba1083df70c01b098a9532fc0c (patch)
tree26d988f1bcf96cffa5729e3fcefcd995d3adbb2a
parent6bbb9c883a900cfdb58bcd284af24d7de7356406 (diff)
downloadandroid_external_wpa_supplicant_8-cf3f80891681b1ba1083df70c01b098a9532fc0c.tar.gz
android_external_wpa_supplicant_8-cf3f80891681b1ba1083df70c01b098a9532fc0c.tar.bz2
android_external_wpa_supplicant_8-cf3f80891681b1ba1083df70c01b098a9532fc0c.zip
eap_proxy: Fix compilation warning
Change-Id: I1e0259aad8516c8eacf50de6313a558f01032ae4
-rw-r--r--src/eap_peer/eap_proxy_qmi.c8
1 files 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;
}