|
@@ -342,7 +342,7 @@ int wpa_supplicant_scard_init(struct wpa_supplicant *wpa_s,
|
|
|
wpa_dbg(wpa_s, MSG_DEBUG, "Selected network is configured to use SIM "
|
|
|
"(sim=%d aka=%d) - initialize PCSC", sim, aka);
|
|
|
|
|
|
- wpa_s->scard = scard_init(NULL);
|
|
|
+ wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader);
|
|
|
if (wpa_s->scard == NULL) {
|
|
|
wpa_msg(wpa_s, MSG_WARNING, "Failed to initialize SIM "
|
|
|
"(pcsc-lite)");
|