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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 42ed771f4..013020680 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -812,6 +812,12 @@ transmit_fragment (void *cls,
812 size_t size; 812 size_t size;
813 uint16_t msize; 813 uint16_t msize;
814 814
815 if (NULL == endpoint)
816 {
817 GNUNET_break (0);
818 return;
819 }
820
815 msize = ntohs (hdr->size); 821 msize = ntohs (hdr->size);
816 size = sizeof (struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage) + msize; 822 size = sizeof (struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage) + msize;
817 { 823 {