aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/interworking.c
diff options
context:
space:
mode:
authorJean Trivelly <jean.trivelly@intel.com>2014-03-26 15:54:35 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-31 20:29:37 (GMT)
commit729897a38872c0e5f283ff90a96247ed583f80dd (patch)
treec22314c998c200c6970990ec5573621b13ee42a7 /wpa_supplicant/interworking.c
parent21611ea9fd141246aba0c0ec336a3d2ce2b292c3 (diff)
downloadhostap-729897a38872c0e5f283ff90a96247ed583f80dd.zip
hostap-729897a38872c0e5f283ff90a96247ed583f80dd.tar.gz
hostap-729897a38872c0e5f283ff90a96247ed583f80dd.tar.bz2
Interworking: Fix incorrect compile PCSC flag
CONFIG_PCSC is used instead of PCSC_FUNCS. Signed-off-by: Jean Trivelly <jean.trivelly@intel.com>
Diffstat (limited to 'wpa_supplicant/interworking.c')
-rw-r--r--wpa_supplicant/interworking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c
index 71163c3..662e729 100644
--- a/wpa_supplicant/interworking.c
+++ b/wpa_supplicant/interworking.c
@@ -2043,13 +2043,13 @@ int interworking_home_sp_cred(struct wpa_supplicant *wpa_s,
int mnc_len = 0;
if (cred->imsi)
imsi = cred->imsi;
-#ifdef CONFIG_PCSC
+#ifdef PCSC_FUNCS
else if (cred->pcsc && wpa_s->conf->pcsc_reader &&
wpa_s->scard && wpa_s->imsi[0]) {
imsi = wpa_s->imsi;
mnc_len = wpa_s->mnc_len;
}
-#endif /* CONFIG_PCSC */
+#endif /* PCSC_FUNCS */
#ifdef CONFIG_EAP_PROXY
else if (cred->pcsc && wpa_s->mnc_len > 0 && wpa_s->imsi[0]) {
imsi = wpa_s->imsi;