Signed-off-by: Sven Eckelmann sven.eckelmann@gmx.de --- batman-adv/originator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/batman-adv/originator.c b/batman-adv/originator.c index afac4eb..15bf037 100644 --- a/batman-adv/originator.c +++ b/batman-adv/originator.c @@ -177,7 +177,7 @@ struct orig_node *get_orig_node(struct bat_priv *bat_priv, uint8_t *addr) goto free_bcast_own_sum;
if (bat_priv->orig_hash->elements * 4 > bat_priv->orig_hash->size) { - swaphash = hash_resize(bat_priv->orig_hash,choose_orig, + swaphash = hash_resize(bat_priv->orig_hash, choose_orig, bat_priv->orig_hash->size * 2);
if (!swaphash)