aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hard-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/hard-interface.c')
-rw-r--r--net/batman-adv/hard-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c
index a3fbfb5c92f1..b55e8616fc1e 100644
--- a/net/batman-adv/hard-interface.c
+++ b/net/batman-adv/hard-interface.c
@@ -337,7 +337,7 @@ int hardif_enable_interface(struct hard_iface *hard_iface,
337 batman_packet = (struct batman_packet *)(hard_iface->packet_buff); 337 batman_packet = (struct batman_packet *)(hard_iface->packet_buff);
338 batman_packet->packet_type = BAT_PACKET; 338 batman_packet->packet_type = BAT_PACKET;
339 batman_packet->version = COMPAT_VERSION; 339 batman_packet->version = COMPAT_VERSION;
340 batman_packet->flags = 0; 340 batman_packet->flags = NO_FLAGS;
341 batman_packet->ttl = 2; 341 batman_packet->ttl = 2;
342 batman_packet->tq = TQ_MAX_VALUE; 342 batman_packet->tq = TQ_MAX_VALUE;
343 batman_packet->num_tt = 0; 343 batman_packet->num_tt = 0;