diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2013-07-10 10:52:04 -0400 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-10-19 11:31:55 -0400 |
commit | e75de4fa41d810113cf81f658a56e3972c7c12b4 (patch) | |
tree | f2e8cde28faf3b5b1d1303b726860cd66af5bd07 /net/batman-adv | |
parent | e300d314664ef6746e697d5b581f85114ab1f843 (diff) |
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>
Diffstat (limited to 'net/batman-adv')
-rw-r--r-- | net/batman-adv/gateway_client.c | 5 |
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) | |||
221 | struct batadv_neigh_node *router = NULL; | 221 | struct batadv_neigh_node *router = NULL; |
222 | char gw_addr[18] = { '\0' }; | 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 | if (atomic_read(&bat_priv->gw_mode) != BATADV_GW_MODE_CLIENT) | 224 | if (atomic_read(&bat_priv->gw_mode) != BATADV_GW_MODE_CLIENT) |
230 | goto out; | 225 | goto out; |
231 | 226 | ||