aboutsummaryrefslogtreecommitdiffstats
path: root/package/ead
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
commit116fc0dc5f5baf194f4b265d1bb61b6581f1d79a (patch)
treede23f411b2d96f041913b4adceb2e4c8d964e16d /package/ead
parent5d623dbb22e235fadc5ca431295d72c9e63c6151 (diff)
downloadmaster-187ad058-116fc0dc5f5baf194f4b265d1bb61b6581f1d79a.tar.gz
master-187ad058-116fc0dc5f5baf194f4b265d1bb61b6581f1d79a.tar.bz2
master-187ad058-116fc0dc5f5baf194f4b265d1bb61b6581f1d79a.zip
ead: allow a longer timeout in the client for the prime number calculation (useful for slow devices)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13907 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ead')
-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;