mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Interworking: Fix incorrect compile PCSC flag
CONFIG_PCSC is used instead of PCSC_FUNCS. Signed-off-by: Jean Trivelly <jean.trivelly@intel.com>
This commit is contained in:
parent
21611ea9fd
commit
729897a388
@ -2043,13 +2043,13 @@ int interworking_home_sp_cred(struct wpa_supplicant *wpa_s,
|
|||||||
int mnc_len = 0;
|
int mnc_len = 0;
|
||||||
if (cred->imsi)
|
if (cred->imsi)
|
||||||
imsi = cred->imsi;
|
imsi = cred->imsi;
|
||||||
#ifdef CONFIG_PCSC
|
#ifdef PCSC_FUNCS
|
||||||
else if (cred->pcsc && wpa_s->conf->pcsc_reader &&
|
else if (cred->pcsc && wpa_s->conf->pcsc_reader &&
|
||||||
wpa_s->scard && wpa_s->imsi[0]) {
|
wpa_s->scard && wpa_s->imsi[0]) {
|
||||||
imsi = wpa_s->imsi;
|
imsi = wpa_s->imsi;
|
||||||
mnc_len = wpa_s->mnc_len;
|
mnc_len = wpa_s->mnc_len;
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_PCSC */
|
#endif /* PCSC_FUNCS */
|
||||||
#ifdef CONFIG_EAP_PROXY
|
#ifdef CONFIG_EAP_PROXY
|
||||||
else if (cred->pcsc && wpa_s->mnc_len > 0 && wpa_s->imsi[0]) {
|
else if (cred->pcsc && wpa_s->mnc_len > 0 && wpa_s->imsi[0]) {
|
||||||
imsi = wpa_s->imsi;
|
imsi = wpa_s->imsi;
|
||||||
|
Loading…
Reference in New Issue
Block a user