From e4b2acfb14d8094314ccc00eaffb90cce374c936 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Jan 2015 22:27:08 +0000 Subject: -fix logging, set quota to higher for testcase --- src/transport/plugin_transport_wlan.c | 11 ++++++----- src/transport/test_transport_api_reliability_wlan_peer1.conf | 4 +++- src/transport/test_transport_api_reliability_wlan_peer2.conf | 3 +++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index e5080c046..425007f6b 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c @@ -1563,11 +1563,12 @@ process_data (void *cls, break; } } - LOG (GNUNET_ERROR_TYPE_DEBUG, - "ACK not matched against any active fragmentation with MAC `%s'\n", - wlan_plugin_address_to_string (NULL, - &mas->endpoint->wlan_addr, - sizeof (mas->endpoint->wlan_addr))); + if (NULL == fm) + LOG (GNUNET_ERROR_TYPE_DEBUG, + "ACK not matched against any active fragmentation with MAC `%s'\n", + wlan_plugin_address_to_string (NULL, + &mas->endpoint->wlan_addr, + sizeof (mas->endpoint->wlan_addr))); break; case GNUNET_MESSAGE_TYPE_WLAN_DATA: if (NULL == mas->endpoint) diff --git a/src/transport/test_transport_api_reliability_wlan_peer1.conf b/src/transport/test_transport_api_reliability_wlan_peer1.conf index eb7756f27..217be12de 100644 --- a/src/transport/test_transport_api_reliability_wlan_peer1.conf +++ b/src/transport/test_transport_api_reliability_wlan_peer1.conf @@ -26,4 +26,6 @@ PORT = 12160 PLUGINS = wlan UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock - +[ats] +BLUETOOTH_QUOTA_IN = 1 MiB +BLUETOOTH_QUOTA_OUT = 1 MiB \ No newline at end of file diff --git a/src/transport/test_transport_api_reliability_wlan_peer2.conf b/src/transport/test_transport_api_reliability_wlan_peer2.conf index aafeb09f8..0d692c7e1 100644 --- a/src/transport/test_transport_api_reliability_wlan_peer2.conf +++ b/src/transport/test_transport_api_reliability_wlan_peer2.conf @@ -27,3 +27,6 @@ PORT = 12170 PLUGINS = wlan UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock +[ats] +BLUETOOTH_QUOTA_IN = 1 MiB +BLUETOOTH_QUOTA_OUT = 1 MiB -- cgit v1.2.3