Allow PC/SC reader to be selected and initialized at start

New global configuration parameters pcsc_reader and pcsc_pin can now be
used to initialize PC/SC reader context at start of wpa_supplicant.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2012-02-26 13:07:05 +02:00
parent 3825a19bfa
commit f64adcd71e
9 changed files with 115 additions and 18 deletions

View file

@ -37,7 +37,7 @@ typedef enum {
#ifdef PCSC_FUNCS
struct scard_data * scard_init(scard_sim_type sim_type);
struct scard_data * scard_init(scard_sim_type sim_type, const char *reader);
void scard_deinit(struct scard_data *scard);
int scard_set_pin(struct scard_data *scard, const char *pin);