Commit e75de4fa41d810113cf81f658a56e3972c7c12b4

Authored by Antonio Quartulli
Committed by Antonio Quartulli
1 parent e300d31466

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>

Showing 1 changed file with 0 additions and 5 deletions Side-by-side Diff

net/batman-adv/gateway_client.c
... ... @@ -221,11 +221,6 @@
221 221 struct batadv_neigh_node *router = NULL;
222 222 char gw_addr[18] = { '\0' };
223 223  
224   - /* The batman daemon checks here if we already passed a full originator
225   - * cycle in order to make sure we don't choose the first gateway we
226   - * hear about. This check is based on the daemon's uptime which we
227   - * don't have.
228   - */
229 224 if (atomic_read(&bat_priv->gw_mode) != BATADV_GW_MODE_CLIENT)
230 225 goto out;
231 226