commit | 57f0c07c4d0da8bcc23e21c330fe9c7c5cf776b5 | [log] [tgz] |
---|---|---|
author | Linus Lüssing <linus.luessing@web.de> | Mon Mar 14 22:43:33 2011 +0000 |
committer | Sven Eckelmann <sven@narfation.org> | Sun Apr 17 21:11:01 2011 +0200 |
tree | 116da9bca37ef83067054dd613222da8f78f33bc | |
parent | 4c804850572f70a2350e4d1e79d6659392b07733 [diff] |
batman-adv: Simplify gw_check_election(), use gw_get_selected() gw_get_selected() can get us the desired orig_node directly, therefore reusing that function in gw_check_election(). Signed-off-by: Linus Lüssing <linus.luessing@web.de> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Sven Eckelmann <sven@narfation.org>