aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2014-06-23 19:13:20 (GMT)
committerJouni Malinen <j@w1.fi>2014-06-28 07:51:29 (GMT)
commit1de809e15299b573edbe0f6d1149a647f2a2d404 (patch)
tree3e977b526f404c35e00e9056190361affbb3e998
parent3c5d34e30b0b41c741419382a0827f817c4f6852 (diff)
downloadhostap-1de809e15299b573edbe0f6d1149a647f2a2d404.zip
hostap-1de809e15299b573edbe0f6d1149a647f2a2d404.tar.gz
hostap-1de809e15299b573edbe0f6d1149a647f2a2d404.tar.bz2
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 <dimitrysh@google.com>
-rw-r--r--wpa_supplicant/eapol_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c
index 06a696e..e19782f 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;