Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e75de4fa authored by Antonio Quartulli's avatar Antonio Quartulli Committed by Antonio Quartulli
Browse files

batman-adv: remove bogus comment



this comment refers to the old batmand codebase and does
not make sense anymore. Remove it

Signed-off-by: default avatarAntonio Quartulli <antonio@open-mesh.com>
Signed-off-by: default avatarMarek Lindner <lindner_marek@yahoo.de>
parent e300d314
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;