From 21bb30f3835f38bcb77fa5cb161e3454f5fff800 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 18 May 2011 09:50:32 +0000 Subject: [PATCH] --- src/transport/plugin_transport_wlan.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index d98dc9dc8..26eda2b97 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c @@ -60,7 +60,7 @@ #define HALLO_BEACON_SCALING_FACTOR 900 -#define DEBUG_wlan GNUNET_NO +#define DEBUG_wlan GNUNET_YES #define DEBUG_wlan_retransmission GNUNET_NO #define MESSAGE_LENGHT_UNKNOWN -1 @@ -2043,10 +2043,7 @@ static int is_double_msg(struct Receive_Message_Queue * rx_msg, struct FragmentationHeader * fh) { - //test if bitfield is okay -#if DEBUG_wlan - check_message_fragment_bitfield(rx_msg); -#endif + return testBit((char *) &rx_msg->received_fragments, ntohs( fh->fragment_off_or_num)); @@ -2257,10 +2254,6 @@ check_rx_finished_msg(struct Plugin* plugin, return; } -#if DEBUG_wlan - check_message_fragment_bitfield(rx_message); -#endif - // if (rx_message->frag_tail->num == ffsl(rx_message->received_fragments)) // { bitfield = ~bitfield; -- 2.25.1