aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 1841d01f3..5618ff4c4 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -45,8 +45,7 @@
45/** 45/**
46 * Time until retransmission of a fragment in ms 46 * Time until retransmission of a fragment in ms
47 */ 47 */
48 48#define FRAGMENT_TIMEOUT GNUNET_TIME_UNIT_SECONDS
49#define FRAGMENT_TIMEOUT 1000
50 49
51#define FRAGMENT_QUEUE_SIZE 10 50#define FRAGMENT_QUEUE_SIZE 10
52 51
@@ -611,9 +610,7 @@ get_next_frag_timeout (struct FragmentMessage * fm)
611 610
612struct GNUNET_TIME_Relative 611struct GNUNET_TIME_Relative
613get_ack_timeout (struct FragmentMessage * fm){ 612get_ack_timeout (struct FragmentMessage * fm){
614 struct GNUNET_TIME_Relative timeout; 613 return FRAGMENT_TIMEOUT;
615 timeout.rel_value = FRAGMENT_TIMEOUT;
616 return timeout;
617} 614}
618 615
619//TODO doxigen 616//TODO doxigen