diff options
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r-- | net/batman-adv/send.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index b00a0f537b4e..019337e3eafb 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include "vis.h" | 28 | #include "vis.h" |
29 | #include "gateway_common.h" | 29 | #include "gateway_common.h" |
30 | #include "originator.h" | 30 | #include "originator.h" |
31 | #include "bat_ogm.h" | ||
32 | 31 | ||
33 | static void send_outstanding_bcast_packet(struct work_struct *work); | 32 | static void send_outstanding_bcast_packet(struct work_struct *work); |
34 | 33 | ||
@@ -168,7 +167,7 @@ void schedule_bat_ogm(struct hard_iface *hard_iface) | |||
168 | if (primary_if) | 167 | if (primary_if) |
169 | hardif_free_ref(primary_if); | 168 | hardif_free_ref(primary_if); |
170 | 169 | ||
171 | bat_ogm_schedule(hard_iface, tt_num_changes); | 170 | bat_priv->bat_algo_ops->bat_ogm_schedule(hard_iface, tt_num_changes); |
172 | } | 171 | } |
173 | 172 | ||
174 | static void forw_packet_free(struct forw_packet *forw_packet) | 173 | static void forw_packet_free(struct forw_packet *forw_packet) |
@@ -318,7 +317,7 @@ void send_outstanding_bat_ogm_packet(struct work_struct *work) | |||
318 | if (atomic_read(&bat_priv->mesh_state) == MESH_DEACTIVATING) | 317 | if (atomic_read(&bat_priv->mesh_state) == MESH_DEACTIVATING) |
319 | goto out; | 318 | goto out; |
320 | 319 | ||
321 | bat_ogm_emit(forw_packet); | 320 | bat_priv->bat_algo_ops->bat_ogm_emit(forw_packet); |
322 | 321 | ||
323 | /** | 322 | /** |
324 | * we have to have at least one packet in the queue | 323 | * we have to have at least one packet in the queue |