diff options
Diffstat (limited to 'net/batman-adv/originator.c')
-rw-r--r-- | net/batman-adv/originator.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 3e902042af8f..86e7e082c2bc 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* | 1 | /* Copyright (C) 2009-2012 B.A.T.M.A.N. contributors: |
2 | * Copyright (C) 2009-2012 B.A.T.M.A.N. contributors: | ||
3 | * | 2 | * |
4 | * Marek Lindner, Simon Wunderlich | 3 | * Marek Lindner, Simon Wunderlich |
5 | * | 4 | * |
@@ -16,7 +15,6 @@ | |||
16 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software |
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
18 | * 02110-1301, USA | 17 | * 02110-1301, USA |
19 | * | ||
20 | */ | 18 | */ |
21 | 19 | ||
22 | #include "main.h" | 20 | #include "main.h" |
@@ -188,7 +186,8 @@ void batadv_originator_free(struct bat_priv *bat_priv) | |||
188 | } | 186 | } |
189 | 187 | ||
190 | /* this function finds or creates an originator entry for the given | 188 | /* this function finds or creates an originator entry for the given |
191 | * address if it does not exits */ | 189 | * address if it does not exits |
190 | */ | ||
192 | struct orig_node *batadv_get_orig_node(struct bat_priv *bat_priv, | 191 | struct orig_node *batadv_get_orig_node(struct bat_priv *bat_priv, |
193 | const uint8_t *addr) | 192 | const uint8_t *addr) |
194 | { | 193 | { |
@@ -521,7 +520,8 @@ int batadv_orig_hash_add_if(struct hard_iface *hard_iface, int max_if_num) | |||
521 | int ret; | 520 | int ret; |
522 | 521 | ||
523 | /* resize all orig nodes because orig_node->bcast_own(_sum) depend on | 522 | /* resize all orig nodes because orig_node->bcast_own(_sum) depend on |
524 | * if_num */ | 523 | * if_num |
524 | */ | ||
525 | for (i = 0; i < hash->size; i++) { | 525 | for (i = 0; i < hash->size; i++) { |
526 | head = &hash->table[i]; | 526 | head = &hash->table[i]; |
527 | 527 | ||
@@ -604,7 +604,8 @@ int batadv_orig_hash_del_if(struct hard_iface *hard_iface, int max_if_num) | |||
604 | int ret; | 604 | int ret; |
605 | 605 | ||
606 | /* resize all orig nodes because orig_node->bcast_own(_sum) depend on | 606 | /* resize all orig nodes because orig_node->bcast_own(_sum) depend on |
607 | * if_num */ | 607 | * if_num |
608 | */ | ||
608 | for (i = 0; i < hash->size; i++) { | 609 | for (i = 0; i < hash->size; i++) { |
609 | head = &hash->table[i]; | 610 | head = &hash->table[i]; |
610 | 611 | ||