projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
325e114
)
Bugfix
author
David Brodski
<david@brodski.eu>
Wed, 26 Oct 2011 09:54:31 +0000
(09:54 +0000)
committer
David Brodski
<david@brodski.eu>
Wed, 26 Oct 2011 09:54:31 +0000
(09:54 +0000)
src/transport/plugin_transport_wlan.c
patch
|
blob
|
history
diff --git
a/src/transport/plugin_transport_wlan.c
b/src/transport/plugin_transport_wlan.c
index b4d219f28adcf44c23dd9f224a33fe6690679051..a740f758b2b40245e7280b8ccfbf0156c7331a57 100644
(file)
--- a/
src/transport/plugin_transport_wlan.c
+++ b/
src/transport/plugin_transport_wlan.c
@@
-1809,15
+1809,18
@@
send_hello_beacon (struct Plugin *plugin)
finish->msgstart = NULL;
restart_helper(plugin, finish);
+ set_next_beacon_time (plugin);
+
}
else
{
GNUNET_assert (bytes == size);
+ set_next_beacon_time (plugin);
set_next_send (plugin);
}
GNUNET_free (msgheader);
- set_next_beacon_time (plugin);
+
}
/**
@@
-2061,7
+2064,6
@@
do_transmit (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
if (GNUNET_TIME_absolute_get_remaining (plugin->beacon_time).rel_value == 0)
{
send_hello_beacon (plugin);
- set_next_send(plugin);
return;
}