aboutsummaryrefslogtreecommitdiffstats
path: root/package/ead/src/ead-client.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-06 22:20:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-06 22:20:26 +0000
commit74429f096180d752b2dcc7916fea2ed85ea22c7f (patch)
tree47fc1069490ae8670a2d14ae25120de6ad8f019f /package/ead/src/ead-client.c
parent3812689abdca23d77b83fcfd15d82d4de20ee10a (diff)
downloadupstream-74429f096180d752b2dcc7916fea2ed85ea22c7f.tar.gz
upstream-74429f096180d752b2dcc7916fea2ed85ea22c7f.tar.bz2
upstream-74429f096180d752b2dcc7916fea2ed85ea22c7f.zip
ead: allow a longer timeout in the client for the prime number calculation (useful for slow devices)
SVN-Revision: 13907
Diffstat (limited to 'package/ead/src/ead-client.c')
-rw-r--r--package/ead/src/ead-client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/ead/src/ead-client.c b/package/ead/src/ead-client.c
index 7f462c180a..54d8b1343f 100644
--- a/package/ead/src/ead-client.c
+++ b/package/ead/src/ead-client.c
@@ -407,12 +407,11 @@ int main(int argc, char **argv)
fprintf(stderr, "Device did not accept user name\n");
return 1;
}
+ timeout = EAD_TIMEOUT_LONG;
if (!get_prime()) {
fprintf(stderr, "Failed to get user password info\n");
return 1;
}
-
- timeout = EAD_TIMEOUT_LONG;
if (!send_a()) {
fprintf(stderr, "Failed to send local authentication data\n");
return 1;