eapol_test: Fix -R option to not replace -s option value
authorDmitry Shmidt <dimitrysh@google.com>
Mon, 23 Jun 2014 19:13:20 +0000 (12:13 -0700)
committerJouni Malinen <j@w1.fi>
Sat, 28 Jun 2014 07:51:29 +0000 (10:51 +0300)
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>
wpa_supplicant/eapol_test.c

index 06a696e..e19782f 100644 (file)
@@ -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;