summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@open-mesh.com>2013-07-10 16:52:04 +0200
committerAntonio Quartulli <antonio@meshcoding.com>2013-10-19 17:31:55 +0200
commite75de4fa41d810113cf81f658a56e3972c7c12b4 (patch)
treef2e8cde28faf3b5b1d1303b726860cd66af5bd07
parente300d314664ef6746e697d5b581f85114ab1f843 (diff)
downloadtalos-obmc-linux-e75de4fa41d810113cf81f658a56e3972c7c12b4.tar.gz
talos-obmc-linux-e75de4fa41d810113cf81f658a56e3972c7c12b4.zip
batman-adv: remove bogus comment
this comment refers to the old batmand codebase and does not make sense anymore. Remove it Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
-rw-r--r--net/batman-adv/gateway_client.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c
index 4ed410f73de4..20fa053b7f57 100644
--- a/net/batman-adv/gateway_client.c
+++ b/net/batman-adv/gateway_client.c
@@ -221,11 +221,6 @@ void batadv_gw_election(struct batadv_priv *bat_priv)
struct batadv_neigh_node *router = NULL;
char gw_addr[18] = { '\0' };
- /* The batman daemon checks here if we already passed a full originator
- * cycle in order to make sure we don't choose the first gateway we
- * hear about. This check is based on the daemon's uptime which we
- * don't have.
- */
if (atomic_read(&bat_priv->gw_mode) != BATADV_GW_MODE_CLIENT)
goto out;
OpenPOWER on IntegriCloud