From: Dmitry Shmidt Date: Mon, 23 Jun 2014 19:13:20 +0000 (-0700) Subject: eapol_test: Fix -R option to not replace -s option value X-Git-Tag: hostap_2_3~243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1de809e15299b573edbe0f6d1149a647f2a2d404;p=thirdparty%2Fhostap.git eapol_test: Fix -R option to not replace -s option value Commit e9852462d58750e2ec4be498e82db0e0a2dfaf7f ('eapol_test: Add PC/SC reader and PIN command line arguments') did not add break to the switch statement for the new -R command line option. Signed-off-by: Dmitry Shmidt --- diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c index 06a696e31..e19782f70 100644 --- a/wpa_supplicant/eapol_test.c +++ b/wpa_supplicant/eapol_test.c @@ -1267,6 +1267,7 @@ int main(int argc, char *argv[]) break; case 'R': eapol_test.pcsc_reader = optarg; + break; case 's': as_secret = optarg; break;