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.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 298d55653..a376a2642 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -1057,6 +1057,7 @@ create_macendpoint (struct Plugin *plugin,
1057 return pos; 1057 return pos;
1058} 1058}
1059 1059
1060
1060/** 1061/**
1061 * Function obtain the network type for a session 1062 * Function obtain the network type for a session
1062 * 1063 *
@@ -1065,12 +1066,14 @@ create_macendpoint (struct Plugin *plugin,
1065 * @return the network type in HBO or GNUNET_SYSERR 1066 * @return the network type in HBO or GNUNET_SYSERR
1066 */ 1067 */
1067static enum GNUNET_ATS_Network_Type 1068static enum GNUNET_ATS_Network_Type
1068wlan_get_network (void *cls, void *session) 1069wlan_get_network (void *cls,
1070 struct Session *session)
1069{ 1071{
1070 GNUNET_assert (NULL != session); 1072 GNUNET_assert (NULL != session);
1071 return GNUNET_ATS_NET_WLAN; 1073 return GNUNET_ATS_NET_WLAN;
1072} 1074}
1073 1075
1076
1074/** 1077/**
1075 * Creates a new outbound session the transport service will use to send data to the 1078 * Creates a new outbound session the transport service will use to send data to the
1076 * peer 1079 * peer