commit | 2265c141086474bbae55a5bb3afa1ebb78ccaa7c | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <ordex@autistici.org> | Wed Apr 27 00:22:00 2011 +0200 |
committer | Sven Eckelmann <sven@narfation.org> | Mon Jun 20 11:37:35 2011 +0200 |
tree | f932bcdfa2ff8a6a2b442252e7167b90363bfa4d | |
parent | c6bda689c2c94788e1e567463ce861d1f135857f [diff] |
batman-adv: gateway election code refactoring The gateway election mechanism has been a little revised. Now the gw_election is trigered by an atomic_t flag (gw_reselect) which is set to 1 in case of election needed, avoding to set curr_gw to NULL. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Sven Eckelmann <sven@narfation.org>