diff options
author | David S. Miller <davem@davemloft.net> | 2011-08-24 10:33:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-24 10:33:00 -0700 |
commit | 0e43182c0c9482a26a4108da9254f3e2869a8e18 (patch) | |
tree | 4631b42bebca8dd9bca61e167e543aabd3b981a7 /net/batman-adv/originator.c | |
parent | 131ea6675c761f655d43b808dd0fe83d15d5cdd3 (diff) | |
parent | a943cac144e035c21d4f1b31b95f15b33c33a480 (diff) |
Merge branch 'batman-adv/next' of git://git.open-mesh.org/linux-merge
Diffstat (limited to 'net/batman-adv/originator.c')
-rw-r--r-- | net/batman-adv/originator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index f3c3f620d19..d448018e514 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -252,7 +252,7 @@ struct orig_node *get_orig_node(struct bat_priv *bat_priv, const uint8_t *addr) hash_added = hash_add(bat_priv->orig_hash, compare_orig, choose_orig, orig_node, &orig_node->hash_entry); - if (hash_added < 0) + if (hash_added != 0) goto free_bcast_own_sum; return orig_node; |