]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Interworking: Fix incorrect compile PCSC flag
authorJean Trivelly <jean.trivelly@intel.com>
Wed, 26 Mar 2014 15:54:35 +0000 (16:54 +0100)
committerJouni Malinen <j@w1.fi>
Mon, 31 Mar 2014 20:29:37 +0000 (23:29 +0300)
CONFIG_PCSC is used instead of PCSC_FUNCS.

Signed-off-by: Jean Trivelly <jean.trivelly@intel.com>
wpa_supplicant/interworking.c

index 71163c39746bec6271941e30f5f8883f67c8438a..662e7293539b71f5c6e4652c7909688358ff7136 100644 (file)
@@ -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;