diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-03 12:17:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-03 12:17:01 +0000 |
commit | 6b8f1672f57fb94af20aecaf406861d48fd90ba3 (patch) | |
tree | b9138091de759b62b3b233e2369ca64e3d6937a7 /src/transport/plugin_transport_wlan.c | |
parent | 64d4abfc586cc2c36a45d196770b1b59ac1b7715 (diff) | |
download | gnunet-6b8f1672f57fb94af20aecaf406861d48fd90ba3.tar.gz gnunet-6b8f1672f57fb94af20aecaf406861d48fd90ba3.zip |
compile
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index aaf5cb588..9613121c8 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -1217,7 +1217,7 @@ check_finished_fragment(struct Plugin * plugin, struct FragmentMessage * fm) | |||
1217 | //maxack = size of message / max packet size, eg 12 / 5 = 2 start at 0 so ack numbers are 0,1,2 | 1217 | //maxack = size of message / max packet size, eg 12 / 5 = 2 start at 0 so ack numbers are 0,1,2 |
1218 | unsigned int maxack = 63 - ((fm->message_size - 1) / (WLAN_MTU | 1218 | unsigned int maxack = 63 - ((fm->message_size - 1) / (WLAN_MTU |
1219 | - sizeof(struct FragmentationHeader))); | 1219 | - sizeof(struct FragmentationHeader))); |
1220 | uint64_t tmpfield = 0xFFFFFFFFFFFFFFFF; | 1220 | uint64_t tmpfield = UINT64_MAX; |
1221 | tmpfield = tmpfield >> maxack; | 1221 | tmpfield = tmpfield >> maxack; |
1222 | 1222 | ||
1223 | //#if DEBUG_wlan | 1223 | //#if DEBUG_wlan |