Set default number of retries to 8 to make the netperf command more robust

This commit is contained in:
Adam Dunkels 2011-02-07 17:34:39 +01:00
parent abe3cf57c3
commit 9c62a8c1a6

View file

@ -52,7 +52,7 @@ int snprintf(char *str, size_t size, const char *format, ...);
/*---------------------------------------------------------------------------*/
#define DATALEN 90
#define MAX_RETRIES 4
#define MAX_RETRIES 8
#define CONTINUE_EVENT 128
@ -658,6 +658,7 @@ PROCESS_THREAD(shell_netperf_process, ev, data)
for(i = 0; i < num_packets; ++i) {
if(construct_next_echo()) {
unicast_send(&unicast, &receiver);
stats.sent++;
}