summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/send.c
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2011-04-25 22:44:32 +0200
committerSven Eckelmann <sven@narfation.org>2011-05-01 22:49:03 +0200
commit71e4aa9c465fd66c110667ab5d620fb6a4ef2157 (patch)
tree2abf828534472096dab635786c24a69c49b8965e /net/batman-adv/send.c
parent5f657ec0d2103571a31707711926b443a27b0c66 (diff)
batman-adv: fix gw_node_update() and gw_election()
This is a regression from c4aac1ab9b973798163b34939b522f01e4d28ac9 - gw_node_update() doesn't add a new gw_node in case of empty curr_gw. This means that at the beginning no gw_node is added, leading to an empty gateway list. - gw_election() is terminating in case of curr_gw == NULL. It has to terminate in case of curr_gw != NULL Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/send.c')
0 files changed, 0 insertions, 0 deletions