From: Felix Fietkau Date: Tue, 6 Jan 2009 22:20:26 +0000 (+0000) Subject: ead: allow a longer timeout in the client for the prime number calculation (useful... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=4e241f8d1c67cb92671996f1394595bd5c18d41a ead: allow a longer timeout in the client for the prime number calculation (useful for slow devices) SVN-Revision: 13907 --- 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;